RFR: 8281057: Fix doc references to overriding in JLS

David Holmes dholmes at openjdk.java.net
Wed Feb 2 12:08:06 UTC 2022

On Tue, 1 Feb 2022 16:19:01 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> While looking into guts of javadoc comment inheritance, I noticed that a number of places in JDK seem to confuse JLS 8.4.6.** with JLS 8.4.8.**.
> Granted, "8.4.6 Method Throws" tangentially addresses overriding. However, I believe that the real target should be "8.4.8. Inheritance, Overriding, and Hiding" and its subsections.

src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java line 670:

> 668:      *  modifier is ignored for this test.
> 669:      *
> 670:      *  See JLS (without transitivity) and

Any idea what the "(without transitivity)" is referring to here and elsewhere?


PR: https://git.openjdk.java.net/jdk/pull/7311

More information about the compiler-dev mailing list