hg: jdk/jdk: 8196830: publicLookup().findVirtual should not return method handle to AccessibleObject.setAccessible

alan.bateman at oracle.com alan.bateman at oracle.com
Sat Feb 24 08:33:14 UTC 2018


Changeset: 514c88e62cd8
Author:    alanb
Date:      2018-02-24 08:26 +0000
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/514c88e62cd8

8196830: publicLookup().findVirtual should not return method handle to AccessibleObject.setAccessible
Reviewed-by: mchung, psandoz

! src/java.base/share/classes/java/lang/invoke/MethodHandleNatives.java
! src/java.base/share/classes/java/lang/reflect/AccessibleObject.java
+ test/jdk/java/lang/invoke/CallerSensitiveAccess.java



More information about the jdk-changes mailing list