RFR: JDK-8164094: javadoc allows to create a @link to a non-existent method [v2]
Hannes Wallnöfer
hannesw at openjdk.org
Tue Jan 30 16:17:23 UTC 2024
On Tue, 12 Dec 2023 12:42:41 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).
>
> 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
Just to make sure I generated JDK API docs with and without this fix and there was no diff in outputs.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17069#issuecomment-1917188014
More information about the compiler-dev
mailing list