Compiler log for org.eclipse.equinox.servletbridge_1.7.0.v20240213-1638 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 15, INFOS: 0

errors others warnings infos forbidden warnings discouraged warnings

ERRORS

top others warnings infos forbidden warnings discouraged warnings

OTHER WARNINGS

top errors infos forbidden warnings discouraged warnings

/src/org/eclipse/equinox/servletbridge/CloseableURLClassLoader.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/servletbridge/CloseableURLClassLoader.java
 (at line 66)
private final AccessControlContext context;
The type AccessControlContext has been deprecated since version 17 and marked for removal
2. WARNING in /src/org/eclipse/equinox/servletbridge/CloseableURLClassLoader.java
 (at line 141)
this.jarFileURLPrefixString = file.toURL().toString() + BANG_SLASH;
The method toURL() from the type File is deprecated
3. WARNING in /src/org/eclipse/equinox/servletbridge/CloseableURLClassLoader.java
 (at line 195)
this.context = AccessController.getContext();
The type AccessController has been deprecated since version 17 and marked for removal
4. WARNING in /src/org/eclipse/equinox/servletbridge/CloseableURLClassLoader.java
 (at line 195)
this.context = AccessController.getContext();
The method getContext() from the type AccessController is deprecated
5. WARNING in /src/org/eclipse/equinox/servletbridge/CloseableURLClassLoader.java
 (at line 283)
Class<?> clazz = AccessController.doPrivileged(new PrivilegedExceptionAction<Class<?>>() {
The type AccessController has been deprecated since version 17 and marked for removal
6. WARNING in /src/org/eclipse/equinox/servletbridge/CloseableURLClassLoader.java
 (at line 283)
Class<?> clazz = AccessController.doPrivileged(new PrivilegedExceptionAction<Class<?>>() { @Override public Class<?> run() throws ClassNotFoundException { String resourcePath = name.replace('.', '/') + DOT_CLASS; CloseableJarFileLoader loader = null; URL resourceURL = null; synchronized (loaders) { if (closed) return null; for (Iterator<CloseableJarFileLoader> iterator = loaders.iterator(); iterator.hasNext();) { loader = iterator.next(); resourceURL = loader.getURL(resourcePath); if (resourceURL != null) break; } } if (resourceURL != null) { try { return defineClass(name, resourceURL, loader.getManifest()); } catch (IOException e) { throw new ClassNotFoundException(name, e); } } return null; } }, context);
The method doPrivileged(PrivilegedExceptionAction<Class<?>>, AccessControlContext) from the type AccessController is deprecated
7. WARNING in /src/org/eclipse/equinox/servletbridge/CloseableURLClassLoader.java
 (at line 397)
URL url = AccessController.doPrivileged(new PrivilegedAction<URL>() {
The type AccessController has been deprecated since version 17 and marked for removal
8. WARNING in /src/org/eclipse/equinox/servletbridge/CloseableURLClassLoader.java
 (at line 397)
URL url = AccessController.doPrivileged(new PrivilegedAction<URL>() { @Override public URL run() { synchronized (loaders) { if (closed) return null; for (CloseableJarFileLoader loader : loaders) { URL resourceURL = loader.getURL(name); if (resourceURL != null) return resourceURL; } } return null; } }, context);
The method doPrivileged(PrivilegedAction<URL>, AccessControlContext) from the type AccessController is deprecated
9. WARNING in /src/org/eclipse/equinox/servletbridge/CloseableURLClassLoader.java
 (at line 420)
AccessController.doPrivileged(new PrivilegedAction<>() {
The type AccessController has been deprecated since version 17 and marked for removal
10. WARNING in /src/org/eclipse/equinox/servletbridge/CloseableURLClassLoader.java
 (at line 420)
AccessController.doPrivileged(new PrivilegedAction<>() { @Override public Object run() { synchronized (loaders) { if (closed) return null; for (CloseableJarFileLoader loader : loaders) { URL resourceURL = loader.getURL(name); if (resourceURL != null) resources.add(resourceURL); } } return null; } }, context);
The method doPrivileged(PrivilegedAction<Object>, AccessControlContext) from the type AccessController is deprecated

/src/org/eclipse/equinox/servletbridge/FrameworkLauncher.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/servletbridge/FrameworkLauncher.java
 (at line 458)
URL frameworkURL = osgiFrameworkFile.toURL();
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/equinox/servletbridge/FrameworkLauncher.java
 (at line 502)
return extensionFile.toURL();
The method toURL() from the type File is deprecated
3. WARNING in /src/org/eclipse/equinox/servletbridge/FrameworkLauncher.java
 (at line 573)
initialPropertyMap.put(OSGI_INSTALL_AREA, platformDirectory.toURL().toExternalForm());
The method toURL() from the type File is deprecated
4. WARNING in /src/org/eclipse/equinox/servletbridge/FrameworkLauncher.java
 (at line 581)
initialPropertyMap.put(OSGI_CONFIGURATION_AREA, configurationDirectory.toURL().toExternalForm());
The method toURL() from the type File is deprecated
5. WARNING in /src/org/eclipse/equinox/servletbridge/FrameworkLauncher.java
 (at line 590)
initialPropertyMap.put(OSGI_INSTANCE_AREA, workspaceDirectory.toURL().toExternalForm());
The method toURL() from the type File is deprecated

INFO WARNINGS

errors others warnings forbidden warnings discouraged warnings

FORBIDDEN ACCESS WARNINGS

top errors infos others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors infos others warnings forbidden warnings