Compiler log for org.eclipse.equinox.cm_1.6.100.v20240329-0940 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 19, 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/internal/cm/ConfigurationAdminFactory.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminFactory.java
 (at line 92)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
2. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminFactory.java
 (at line 92)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
3. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminFactory.java
 (at line 96)
sm.checkPermission(allConfigurationPermission);
The method checkPermission(Permission) from the type SecurityManager is deprecated
4. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminFactory.java
 (at line 98)
sm.checkPermission(new ConfigurationPermission(location, ConfigurationPermission.CONFIGURE));
The method checkPermission(Permission) from the type SecurityManager is deprecated
5. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminFactory.java
 (at line 105)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
6. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminFactory.java
 (at line 105)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
7. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminFactory.java
 (at line 121)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
8. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminFactory.java
 (at line 121)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
9. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminFactory.java
 (at line 124)
sm.checkPermission(allAttributePermission);
The method checkPermission(Permission) from the type SecurityManager is deprecated
10. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminFactory.java
 (at line 126)
sm.checkPermission(new ConfigurationPermission(location, ConfigurationPermission.ATTRIBUTE));
The method checkPermission(Permission) from the type SecurityManager is deprecated

/src/org/eclipse/equinox/internal/cm/ConfigurationAdminImpl.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminImpl.java
 (at line 17)
import java.security.AccessController;
The type AccessController has been deprecated since version 17 and marked for removal
2. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminImpl.java
 (at line 107)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
3. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminImpl.java
 (at line 107)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
4. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminImpl.java
 (at line 127)
return AccessController.doPrivileged(new PrivilegedAction<String>() {
The type AccessController has been deprecated since version 17 and marked for removal
5. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationAdminImpl.java
 (at line 127)
return AccessController.doPrivileged(new PrivilegedAction<String>() { @Override public String run() { return bundle.getLocation(); } });
The method doPrivileged(PrivilegedAction<String>) from the type AccessController is deprecated

/src/org/eclipse/equinox/internal/cm/ConfigurationStore.java : 4 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationStore.java
 (at line 115)
return AccessController.doPrivileged(new PrivilegedExceptionAction<File>() {
The type AccessController has been deprecated since version 17 and marked for removal
2. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationStore.java
 (at line 115)
return AccessController.doPrivileged(new PrivilegedExceptionAction<File>() { @Override public File run() throws Exception { File toFile = token == null ? File.createTempFile(DATA_PRE, CFG_EXT, storeCopy) : (File) token; writeConfigurationFile(toFile, configProperties); return toFile; } });
The method doPrivileged(PrivilegedExceptionAction<File>) from the type AccessController is deprecated
3. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationStore.java
 (at line 158)
AccessController.doPrivileged(new PrivilegedAction<>() {
The type AccessController has been deprecated since version 17 and marked for removal
4. WARNING in /src/org/eclipse/equinox/internal/cm/ConfigurationStore.java
 (at line 158)
AccessController.doPrivileged(new PrivilegedAction<>() { @Override public Object run() { deleteConfigurationFile((File) token); return null; } });
The method doPrivileged(PrivilegedAction<Object>) from the type AccessController 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