Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8351317

Comment updates to MethodHandle linker methods

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • core-libs

      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

            liach Chen Liang
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: