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

Hannes Wallnöfer hannesw at openjdk.org
Fri May 31 13:25:05 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.

This pull request has now been integrated.

Changeset: 1e04ee6d
Author:    Hannes Wallnöfer <hannesw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1e04ee6d57d5fe84e1d202b16e8d13dc13c002ff
Stats:     125 lines in 2 files changed: 123 ins; 0 del; 2 mod

8331579: Reference to primitive type fails without error or warning

Reviewed-by: jjg, prappo

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

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


More information about the javadoc-dev mailing list