-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
25
MethodHandle has a few basic linker methods: invokeBasic and linkToXxx. There's some notes for these methods that can be added:
1. they respect basic types, but for Object, the call site can use any type of Object (such as VarHandle), the effect is the same
2. linkToXxx needs member name's declaring class to be initialized
3. linkToNative accepts a NativeEntryPoint
1. they respect basic types, but for Object, the call site can use any type of Object (such as VarHandle), the effect is the same
2. linkToXxx needs member name's declaring class to be initialized
3. linkToNative accepts a NativeEntryPoint