RFR: JDK-8164094: javadoc allows to create a @link to a non-existent method [v3]

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


> 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).

Hannes Wallnöfer has updated the pull request incrementally with one additional commit since the last revision:

  Update copyright date

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17069/files
  - new: https://git.openjdk.org/jdk/pull/17069/files/4f08440e..9575bf1c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17069&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17069&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/17069.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17069/head:pull/17069

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


More information about the compiler-dev mailing list