java.security.AccessController deprecated since Java 17 and subject to removal in a future version

Julien Nabet serval2412 at yahoo.fr
Mon Nov 14 17:54:08 UTC 2022


Hello,

During a build, I noticed some warning about deprecation of 
AccessController.

git grep -n 'java.security.AccessController' gives:
odk/source/com/sun/star/lib/loader/Loader.java:36:import 
java.security.AccessController;
ridljar/source/unoloader/com/sun/star/lib/unoloader/UnoLoader.java:25:import 
java.security.AccessController;
scripting/java/com/sun/star/script/framework/provider/ClassLoaderFactory.java:26:import 
java.security.AccessController;
xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/ConverterInfo.java:24:import 
java.security.AccessController;

source: 
https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/security/AccessController.html

For the moment, it's just deprecated but don't know if it's quick/easy 
to remove or this must be analyzed.

Julien



More information about the LibreOffice mailing list