-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
None
-
Affects Version/s: 27
-
Component/s: core-libs
-
None
The bootstrap methods in java.lang.runtime (ObjectMethods, SwitchBootstraps) does not properly validate the lookup supplied by the users. These lookups are subsequently used to create hidden classes that create implementation, and these uses require the lookups to have full-privilege access.
We should specify these methods require full-privilege lookups and add checks in the BSMs.
We should specify these methods require full-privilege lookups and add checks in the BSMs.
- relates to
-
JDK-8378792 ObjectMethods.bootstrap missing getter validation
-
- Resolved
-