-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 14
-
Component/s: core-libs
-
Verified
`java.lang.invoke.MethodHandles.Lookup::in` method throws `IllegalArgumentException` if the given `requestedLookupClass` is a primitive type, void, or an array class. A `Lookup` object never intends to allow a lookup class of primitive type, void, or array class. Consequently, the specification of `Lookup::in` has been fixed in Java SE 14.