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

5.4.2: Clarify meaning of <D, L2> when D is a class/interface rather than a name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 23
    • 21, 22, 23
    • specification
    • vm

      Point 1 in section https://docs.oracle.com/javase/specs/jvms/se22/html/jvms-5.html#jvms-5.4.2 of the JVMS reads:

      "For each instance method m declared in C that can override (§5.4.5) an instance method declared in a superclass or superinterface <D, L2>...".

      In the rest of this section, D denotes a class/interface. However, in <D, L2> the left component should be a name according to previous usage of this notation.

      Likewise in point 2

      "For each instance method m declared in a superinterface <I, L3> of C"

      where I guess that I is meant to be a (runtime) interface, not a name.

            dlsmith Dan Smith
            rgiulietti Raffaello Giulietti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: