-
Bug
-
Resolution: Fixed
-
P3
-
14
-
b26
Lookup::hasPrivateAccess intends to return true for "full-power lookup", i.e. a Lookup produced by the MethodHandles::lookup factory method where the caller class is the lookup class.
WithJDK-8173978, MODULE bit indicates if this lookup object is created by a member in the same module as the lookup class. MethodHandles::privateLookupIn can produce a Lookup with MODULE bit dropped if teleporting from another module.
Lookup::hasPrivateAccess should be updated to return true if this lookup has both PRIVATE and MODULE access.
With
Lookup::hasPrivateAccess should be updated to return true if this lookup has both PRIVATE and MODULE access.
- csr for
-
JDK-8233726 A new Lookup::hasFullPrivilegeAccess method for testing full privilege access
-
- Closed
-
- relates to
-
JDK-8173978 Lookup.in should allow teleporting from a lookup class in a named module without dropping all access
-
- Resolved
-