-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
9
-
None
This is a followup item resulting from the code review for JDK-8055206.
The VM calls ClassLoader.checkPackageAccess before loading a class, which in turn calls SecurityManager.checkPackageAccess if a SecurityManager (SM) is enabled. For classes in modules that are the target of a qualified export and are referenced from code in the source module of the qualified export, we could skip the SM check since it is redundant.
The VM calls ClassLoader.checkPackageAccess before loading a class, which in turn calls SecurityManager.checkPackageAccess if a SecurityManager (SM) is enabled. For classes in modules that are the target of a qualified export and are referenced from code in the source module of the qualified export, we could skip the SM check since it is redundant.
- relates to
-
JDK-8055206 Update SecurityManager::checkPackageAccess to restrict non-exported JDK packages by default
-
- Closed
-