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

Hannes Wallnöfer hannesw at openjdk.org
Tue Dec 12 12:42:41 UTC 2023


> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Merge branch 'master' into JDK-8164094
 - Additional test
 - JDK-8164094: javadoc allows to create a @link to a non-existent method

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

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

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

  Stats: 248 lines in 16 files changed: 162 ins; 45 del; 41 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 javadoc-dev mailing list