We currently use the following utility classes from sun.reflect.misc to do additional checking for reflective access on behalf of application classes:
sun.reflect.misc.ConstructorUtil
sun.reflect.misc.FieldUtil
sun.reflect.misc.MethodUtil
sun.reflect.misc.ReflectUtil
This is needed to avoid accessing an element on behalf of an application that the application class does not have permission to access.
In an effort to eliminate the use of internal packages from core module by javafx.* modules we need a different solution.
sun.reflect.misc.ConstructorUtil
sun.reflect.misc.FieldUtil
sun.reflect.misc.MethodUtil
sun.reflect.misc.ReflectUtil
This is needed to avoid accessing an element on behalf of an application that the application class does not have permission to access.
In an effort to eliminate the use of internal packages from core module by javafx.* modules we need a different solution.
- blocks
-
JDK-8195798 ☂ Address dependencies in javafx.* modules on internal APIs of core modules
- Resolved
- relates to
-
JDK-8200082 Need to restrict access to FX packages when loaded by AppClassLoader
- Open
-
JDK-8177566 FX user module gets IllegalAccessException from sun.reflect.misc.Trampoline
- Resolved