The SecurityManager check that restricts internal packages will only restrict those packages that are part of the platform. Packages loaded by the AppClassLoader are not subject to this restriction. Once the javafx modules are removed from the JDK, applications will load them using the AppClassLoader. This means that the calls to ReflectUtil::checkPackageAccess will no longer block access to such packages when a security manager is present. If this check is still needed, then we need to look for an alternate solution.
- relates to
-
JDK-8341090 Remove support for security manager from JavaFX
- Resolved
-
JDK-8195800 Eliminate dependency on sun.reflect.misc in javafx modules
- Resolved