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

[Nestmates] Update access control exception handling and other features per final JVMS proposal

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-valhalla
    • repo-valhalla
    • hotspot

      The process for nest membership validation and the type of exception thrown has been updated.
        - same package check is first
        - throw IncompatibleClassChangeError instead of IllegalAccessError

      Update all tests

      Spec no longer precludes duplicate entries in NestMembers attribute.

      Spec allows a reference to self in the NestMembers attribute

      Spec precludes a reference to self in NestHost attribute

      Add tests for self-referential attributes: nesthost->this; nestmembers->this

      Add tests for duplicate NestMembers entries.

      NOTE: These changes do not include the JVMS invokeinterface changes that do not relate directly to implementing nestmates. Those changes are still under discussion.

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

              Created:
              Updated:
              Resolved: