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

chris.hegarty at oracle.com chris.hegarty at oracle.com
Tue Oct 29 20:00:18 UTC 2019


Changeset: 67a3f50b14ae
Author:    mchung
Date:      2019-10-29 12:52 -0700
URL:       https://hg.openjdk.java.net/jdk/sandbox/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-sandbox-changes mailing list