-
Bug
-
Resolution: Fixed
-
P4
-
24
-
b26
java.desktop code calls several methods in sun.misc.ReflectUtil
ReflectUtil.checkPackageAccess - 18 uses
ReflectUtil.isPackageAccessible - 9 uses
ReflectUtil.forName - just one usage
After JEP 486 - "Permanently Disable the Security Manager" these were hollowed out.
The first two are now no-ops so can just be removed.
forName now just calls Class.forName() and since java.desktop uses the same classloader as java.base this is equivalent so can be collapsed to Class.forName directly
ReflectUtil.checkPackageAccess - 18 uses
ReflectUtil.isPackageAccessible - 9 uses
ReflectUtil.forName - just one usage
After JEP 486 - "Permanently Disable the Security Manager" these were hollowed out.
The first two are now no-ops so can just be removed.
forName now just calls Class.forName() and since java.desktop uses the same classloader as java.base this is equivalent so can be collapsed to Class.forName directly
- relates to
-
JDK-8350573 java/beans/XMLDecoder/8028054/TestMethodFinder.java got slow after JDK-8344891
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/7be94d04
-
Review(master) openjdk/jdk/22335