hg: jdk/sandbox: 8235351: Lookup::unreflect should bind with the original caller independent of Method's accessible flag

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Dec 6 23:15:34 UTC 2019


Changeset: 4437d58547ce
Author:    mchung
Date:      2019-12-06 15:10 -0800
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/4437d58547ce

8235351: Lookup::unreflect should bind with the original caller independent of Method's accessible flag
Reviewed-by: alanb

! src/java.base/share/classes/java/lang/invoke/MethodHandles.java
! test/jdk/java/lang/invoke/CallerSensitiveAccess.java



More information about the jdk-sandbox-changes mailing list