RFR: JDK-8164094: javadoc allows to create a @link to a non-existent method [v2]
Jonathan Gibbons
jjg at openjdk.org
Tue Feb 20 19:07:55 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
Marked as reviewed by jjg (Reviewer).
test/langtools/tools/javac/doctree/ReferenceTest.java line 2:
> 1: /*
> 2: * Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
2024?
-------------
PR Review: https://git.openjdk.org/jdk/pull/17069#pullrequestreview-1891310639
PR Review Comment: https://git.openjdk.org/jdk/pull/17069#discussion_r1496352451
More information about the compiler-dev
mailing list