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

[Nestmates] Revert all changes to VerifyAccess.isSameMemberPackage and Lookup.in behaviour

XMLWordPrintable

      After going through the issue in JDK-8197395, there is no need to change VerifyAccess.isSameMemberPackage to be aware of nestmates, as nestmates will already pass the enclosing class check. So we can restore this code to its existing mainline form.

      This leaves the legacy behaviour of Lookup.in exactly as it was, and adds no special cases for nestmates.

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

              Created:
              Updated:
              Resolved: