On Tue, 1 Feb 2022 16:19:01 GMT, Pavel Rappo <pra...@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 8.4.8.1 (without transitivity) and 8.4.8.4

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

-------------

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

Reply via email to