Loading... (original) (raw)
[Nestmates] Restore the old enclosing-class based isSamePackageMember check in sun/invoke/util/VerifyAccess.java
- Type:
Bug
- Resolution: Fixed
- Priority:
P2
- Affects Version/s: repo-valhalla
We still need the enclosing-class based access check for when dealing with pre-nestmate classfile versions. Otherwise Lookup.in stops working.
More generally we need to look at what tests may need to be run when compiled for JDK 11 and for pre-11.
relates to
JDK-8197395 [Nestmates] VerifyAccess.isMemberAccessible must not allow private access between legacy nested types
- Resolved