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

Hannes Wallnöfer hannesw at openjdk.org
Tue May 28 12:34:33 UTC 2024


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.

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

Commit messages:
 - JDK-8331579: Reference to primitive type fails without error or warning

Changes: https://git.openjdk.org/jdk/pull/19423/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19423&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8331579
  Stats: 125 lines in 2 files changed: 123 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/19423.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19423/head:pull/19423

PR: https://git.openjdk.org/jdk/pull/19423


More information about the javadoc-dev mailing list