-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: None
-
Component/s: core-libs
-
b21
MethodHandles.privateLookupIn currently disallows the target lookup class be a primitive or array class. This is mildly inconsistent with Lookup::in where it is possible to create a lookup with a primitive or array class as the lookup class (although maybe with reduced access). This issue tracks re-examining this issue to see if privateLookupIn should be relaxed.
- csr for
-
JDK-8232227 Lookup::in should not allow target class be primitive or array class
-
- Closed
-