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

Update invocation tests with nestmate invokeinterface behavior changes

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      In JDK 11 we added nestmates (JEP 181), the JVMS was changed to allow invoking private methods via invokeinterface and invokevirtual. As part of that support, some of the restrictions for invokeinterface that used to throw an IllegalAccessException now succeed or throw AbstractMethodError.

      The tests need to be modified so that if you are running a jdk >= 11,
      that the invokeinterface expected behaviors are different - including for older class file versions.

      It is ok to fix the tests before or after colocating them, that should not be a blocker.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              acorn Karen Kinnear (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: