-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b175
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8182835 | 10 | Sean Mullan | P2 | Resolved | Fixed | b14 |
JDK-8182540 | 9.0.4 | Sean Mullan | P2 | Resolved | Fixed | b01 |
SecurityManager::checkPackageAccess may be invoked by the VM when a security manager is enabled but it's not currently specified in the javadoc.
In addition, the API spec for SecurityManager::checkPackageAccess states "This method is called by the loadClass method of class loaders." but there is no way to enforce the class loader implementation to invoke it.
The specification of SecurityManager::checkPackageAccess should be clarified to state that it may be called by the VM and the loadClass method of class loaders.
In addition, the API spec for SecurityManager::checkPackageAccess states "This method is called by the loadClass method of class loaders." but there is no way to enforce the class loader implementation to invoke it.
The specification of SecurityManager::checkPackageAccess should be clarified to state that it may be called by the VM and the loadClass method of class loaders.
- backported by
-
JDK-8182540 Document that SecurityManager::checkPackageAccess may be called by the VM
-
- Resolved
-
-
JDK-8182835 Document that SecurityManager::checkPackageAccess may be called by the VM
-
- Resolved
-