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

MethodHandles.varHandleExactInvoker should perform exact checks

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: