Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080588 VarHandles development
  3. JDK-8156485

MethodHandles.varHandleExactInvoker should perform exact checks

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • None
    • core-libs

      The fix for JDK-8155258 introduced a regression whereby the erased call site method type and the erased target method type are checked for equality. The exact method types should be checked.

      The lambda form shapes for the generic and exact invokers should be the same, and should switch on the appropriate checkVarHandle*Type method that returns a method handle.

            psandoz Paul Sandoz
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: