-
Bug
-
Resolution: Won't Fix
-
P4
-
9
-
None
Maurizio fixed a bunch of bugs with incorrect access checks for VM anonymous classes in Valhalla repo:
http://hg.openjdk.java.net/valhalla/valhalla/hotspot/rev/06a7383a22cc
http://hg.openjdk.java.net/valhalla/valhalla/jdk/rev/c28ea949f8cc
Maurizio wrote:
I basically implemented a logic where the access checks are performed on the entire chain of classes linked by the 'getHostClass' operation. This seems to work reliably, w/o any need for excluding classes defined in Unsafe.dAC from the access logic dance.
The problems should be fixed in 9 as well.
http://hg.openjdk.java.net/valhalla/valhalla/hotspot/rev/06a7383a22cc
http://hg.openjdk.java.net/valhalla/valhalla/jdk/rev/c28ea949f8cc
Maurizio wrote:
I basically implemented a logic where the access checks are performed on the entire chain of classes linked by the 'getHostClass' operation. This seems to work reliably, w/o any need for excluding classes defined in Unsafe.dAC from the access logic dance.
The problems should be fixed in 9 as well.
- relates to
-
JDK-8171335 MethodHandle.Lookup functionality to define a nestmate class
- Closed