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

mandy.chung at oracle.com mandy.chung at oracle.com
Fri Dec 6 23:10:56 UTC 2019


Changeset: 4437d58547ce
Author:    mchung
Date:      2019-12-06 15:10 -0800
URL:       https://hg.openjdk.java.net/jdk/jdk/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-all-changes mailing list