-
Bug
-
Resolution: Not an Issue
-
P2
-
9
Current module boundary is enforced by setAccessible(true) throwing exceptions on privileged contructors/methods/fields. This allows to hide implementations within the module, e.g. jdk.vm.internal.Unsafe.
However, this does not seem to work if we are able to steal MH.Lookup object first, and resolve against it. See the attached test case for the example. Reproduces fine on JDK 9 b128.
However, this does not seem to work if we are able to steal MH.Lookup object first, and resolve against it. See the attached test case for the example. Reproduces fine on JDK 9 b128.
- relates to
-
JDK-8162494 some frameworks need access delegation via MethodHandles.lookup
-
- Open
-