Compiler log for org.eclipse.equinox.useradmin_1.3.100.v20240321-1445 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 36, 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/useradmin/UserAdmin.java : 12 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdmin.java
 (at line 328)
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/useradmin/UserAdmin.java
 (at line 328)
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/useradmin/UserAdmin.java
 (at line 333)
sm.checkPermission(adminPermission);
The method checkPermission(Permission) from the type SecurityManager is deprecated
4. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdmin.java
 (at line 338)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
5. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdmin.java
 (at line 338)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
6. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdmin.java
 (at line 340)
sm.checkPermission(new org.osgi.service.useradmin.UserAdminPermission(credential, org.osgi.service.useradmin.UserAdminPermission.GET_CREDENTIAL));
The method checkPermission(Permission) from the type SecurityManager is deprecated
7. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdmin.java
 (at line 346)
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/useradmin/UserAdmin.java
 (at line 346)
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/useradmin/UserAdmin.java
 (at line 348)
sm.checkPermission(new org.osgi.service.useradmin.UserAdminPermission(credential, org.osgi.service.useradmin.UserAdminPermission.CHANGE_CREDENTIAL));
The method checkPermission(Permission) from the type SecurityManager is deprecated
10. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdmin.java
 (at line 354)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
11. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdmin.java
 (at line 354)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
12. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdmin.java
 (at line 356)
sm.checkPermission(new org.osgi.service.useradmin.UserAdminPermission(property, org.osgi.service.useradmin.UserAdminPermission.CHANGE_PROPERTY));
The method checkPermission(Permission) from the type SecurityManager is deprecated

/src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java : 24 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 53)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
2. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 53)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { rootNode = preferencesService.getUserPreferences(persistenceUserName); loadRoles(); return (null); });
The method doPrivileged(PrivilegedExceptionAction<Object>) from the type AccessController is deprecated
3. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 66)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
4. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 66)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { Preferences node = rootNode.node(role.getName()); node.putInt(typeString, role.getType()); node.flush(); return (null); });
The method doPrivileged(PrivilegedExceptionAction<Object>) from the type AccessController is deprecated
5. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 80)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
6. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 80)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { Preferences node = rootNode.node(role.getName()); node.removeNode(); rootNode.node("").flush(); //$NON-NLS-1$ return (null); });
The method doPrivileged(PrivilegedExceptionAction<Object>) from the type AccessController is deprecated
7. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 94)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
8. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 94)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { Preferences propertyNode = rootNode.node(role.getName() + "/" + propertiesNode); //$NON-NLS-1$ propertyNode.clear(); if (propertyNode.nodeExists(typesNode)) propertyNode.node(typesNode).removeNode(); propertyNode.flush(); return (null); });
The method doPrivileged(PrivilegedExceptionAction<Object>) from the type AccessController is deprecated
9. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 111)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
10. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 111)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { Preferences propertyNode = rootNode.node(role.getName() + "/" + propertiesNode); //$NON-NLS-1$ Preferences propertyTypesNode = propertyNode.node(typesNode); if (value instanceof String) { propertyNode.put(key, (String) value); propertyTypesNode.putBoolean(key, true); } else // must be a byte array, then { propertyNode.putByteArray(key, (byte[]) value); propertyTypesNode.putBoolean(key, false); } propertyNode.flush(); return (null); });
The method doPrivileged(PrivilegedExceptionAction<Object>) from the type AccessController is deprecated
11. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 134)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
12. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 134)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { Preferences propertyNode = rootNode.node(role.getName() + "/" + propertiesNode); //$NON-NLS-1$ propertyNode.remove(key); if (propertyNode.nodeExists(typesNode)) propertyNode.node(typesNode).remove(key); propertyNode.flush(); return (null); });
The method doPrivileged(PrivilegedExceptionAction<Object>) from the type AccessController is deprecated
13. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 150)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
14. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 150)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { Preferences credentialNode = rootNode.node(role.getName() + "/" + credentialsNode); //$NON-NLS-1$ credentialNode.clear(); if (credentialNode.nodeExists(typesNode)) credentialNode.node(typesNode).removeNode(); credentialNode.flush(); return (null); });
The method doPrivileged(PrivilegedExceptionAction<Object>) from the type AccessController is deprecated
15. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 168)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
16. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 168)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { Preferences credentialNode = rootNode.node(role.getName() + "/" + credentialsNode); //$NON-NLS-1$ Preferences credentialTypesNode = credentialNode.node(typesNode); if (value instanceof String) { credentialNode.put(key, (String) value); credentialTypesNode.putBoolean(key, true); } else // assume it is a byte array { credentialNode.putByteArray(key, (byte[]) value); credentialTypesNode.putBoolean(key, false); } credentialNode.flush(); return (null); });
The method doPrivileged(PrivilegedExceptionAction<Object>) from the type AccessController is deprecated
17. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 193)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
18. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 193)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { Preferences credentialNode = rootNode.node(role.getName() + "/" + credentialsNode); //$NON-NLS-1$ credentialNode.remove(key); if (credentialNode.nodeExists(typesNode)) credentialNode.node(typesNode).remove(key); credentialNode.flush(); return (null); });
The method doPrivileged(PrivilegedExceptionAction<Object>) from the type AccessController is deprecated
19. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 209)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
20. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 209)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { Preferences memberNode = rootNode.node(group.getName() + "/" + membersNode); //$NON-NLS-1$ memberNode.put(role.getName(), basicString); memberNode.flush(); return (null); });
The method doPrivileged(PrivilegedExceptionAction<Object>) from the type AccessController is deprecated
21. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 226)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
22. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 226)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { Preferences memberNode = rootNode.node(group.getName() + "/" + membersNode); //$NON-NLS-1$ memberNode.put(role.getName(), requiredString); memberNode.flush(); return (null); });
The method doPrivileged(PrivilegedExceptionAction<Object>) from the type AccessController is deprecated
23. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 241)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
24. WARNING in /src/org/eclipse/equinox/internal/useradmin/UserAdminStore.java
 (at line 241)
AccessController.doPrivileged((PrivilegedExceptionAction) () -> { Preferences memberNode = rootNode.node(group.getName() + "/" + membersNode); //$NON-NLS-1$ memberNode.remove(role.getName()); memberNode.flush(); return (null); });
The method doPrivileged(PrivilegedExceptionAction<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