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

Update invocation tests with nestmate invokeinterface behavior changes

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P3
    • tbd
    • 14
    • hotspot

    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

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

              Dates

                Created:
                Updated:
                Resolved: