-
Bug
-
Resolution: Fixed
-
P5
-
21, 22, 23
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.
"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.