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

5.5: Do not guard superinterface initialization on state of superclass

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: specification
    • Labels:
    • Subcomponent:
      vm

      Description

      Step 7 of the initialization process in 5.5 states (emphasis mine):

      "Next, if C is a class rather than an interface, *and its superclass has not yet been initialized*, then let SC be its superclass and let SI1, ..., SIn be all superinterfaces of C (whether direct or indirect) that declare at least one non-abstract, non-static method."

      In the case in which the superclass has been initialized but a superinterface has not, this is incorrect. The superinterface should be initialized anyway.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                abuckley Alex Buckley
                Reporter:
                dlsmith Dan Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: