hg: jdk9/dev/jdk: 8020801: Apply the restriction of invoking MethodHandles.lookup to j.l.r.Method.invoke
mandy.chung at oracle.com
mandy.chung at oracle.com
Tue May 9 04:22:48 UTC 2017
Changeset: e81bd83cd22a
Author: mchung
Date: 2017-05-08 21:21 -0700
URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/e81bd83cd22a
8020801: Apply the restriction of invoking MethodHandles.lookup to j.l.r.Method.invoke
Reviewed-by: plevart, psandoz
! src/java.base/share/classes/java/lang/invoke/MethodHandles.java
! src/java.base/share/classes/jdk/internal/reflect/ReflectionFactory.java
+ test/java/lang/invoke/lookup/ReflectiveLookupTest.java
+ test/java/lang/invoke/lookup/java.base/java/lang/LookupTest.java
More information about the jdk9-dev-changes
mailing list