RFR: 8331579: Reference to primitive type fails without error or warning

Pavel Rappo prappo at openjdk.org
Fri May 31 10:26:02 UTC 2024


On Tue, 28 May 2024 12:28:53 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> Please review a simple fix to make DocLint report an error when linking to non-declared types in `{@link}` or `@see` tags. This has been implemented when the Standard Doclet is running without DocLint in [JDK-8284030](https://bugs.openjdk.org/browse/JDK-8284030), but needs to be implemented in DocLint as well. It was necessary to limit the behaviour to `{@link}` or `@see`tags since references to non-declared types are allowed within the `@serialField` taglet.

Looks good.

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

Marked as reviewed by prappo (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19423#pullrequestreview-2090474062


More information about the javadoc-dev mailing list