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

[Nestmates] Restore the old enclosing-class based isSamePackageMember check in sun/invoke/util/VerifyAccess.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: core-libs
    • Labels:

      Description

      We still need the enclosing-class based access check for when dealing with pre-nestmate classfile versions. Otherwise Lookup.in stops working.

      More generally we need to look at what tests may need to be run when compiled for JDK 11 and for pre-11.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dholmes David Holmes
                Reporter:
                dholmes David Holmes
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: