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

VarHandle adaptation fails when non-crackable direct method handles are used as adapters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools

      Description

      Not all direct method handles are crackable - more specifically, those coming out from MethodHandles::explicitCastArguments are not. The current logic for detecting absence of checked exceptions in the adapter handles is failing to handle this case and instead it throws an exception.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mcimadamore Maurizio Cimadamore
              Reporter:
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: