RFR: JDK-8307377: Remove use of `tagName` from TagletWriterImpl.linkSeeReferenceOutput
Jonathan Gibbons
jjg at openjdk.org
Fri May 5 20:25:14 UTC 2023
On Thu, 4 May 2023 18:01:10 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
> Please review a simple fix to remove unnecessary detail from in-page and console messages about the name of the tag enclosing a bad reference.
See also PR #13720 for another fix in this area
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java line 476:
> 474: DocTree refTree,
> 475: String refSignature,
> 476: Element ref,
A related but different improvement would be to change this from `Element ref` to `TypeMirror refType`.
That would save a separate lookup on (new) line 542.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13811#issuecomment-1536736857
PR Review Comment: https://git.openjdk.org/jdk/pull/13811#discussion_r1186470360
More information about the javadoc-dev
mailing list