hg: jdk/jdk: 8173975: Lookup::in should not allow target class be primitive or array class

mandy.chung at oracle.com mandy.chung at oracle.com
Tue Oct 29 19:52:15 UTC 2019


Changeset: 67a3f50b14ae
Author:    mchung
Date:      2019-10-29 12:52 -0700
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/67a3f50b14ae

8173975: Lookup::in should not allow target class be primitive or array class
Reviewed-by: alanb

! src/java.base/share/classes/java/lang/invoke/MethodHandles.java
+ test/jdk/java/lang/invoke/lookup/LookupClassTest.java



More information about the jdk-changes mailing list