Integrated: JDK-8164094: javadoc allows to create a @link to a non-existent method

Hannes Wallnöfer hannesw at openjdk.org
Tue Feb 20 19:59:13 UTC 2024


On Mon, 11 Dec 2023 21:18:57 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> Please review a simple fix in `JavacTrees` to only look up member references in the enclosing type if the reference does not contain an explicit type name. For example, `@see #method()` in a a doc comment of class `Outer.Inner` should find method `Outer.method()`, but `@see Inner#method()` should not (regardless of comment location).

This pull request has now been integrated.

Changeset: aa792eab
Author:    Hannes Wallnöfer <hannesw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/aa792eababda966c1195dc5701906c66f1628f49
Stats:     56 lines in 2 files changed: 29 ins; 1 del; 26 mod

8164094: javadoc allows to create a @link to a non-existent method

Reviewed-by: prappo, jjg

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

PR: https://git.openjdk.org/jdk/pull/17069


More information about the compiler-dev mailing list