Integrated: JDK-8280488: doclint reference checks withstand warning suppression

Jonathan Gibbons jjg at openjdk.java.net
Mon Jan 31 22:51:17 UTC 2022


On Wed, 26 Jan 2022 02:20:24 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review a small modification to the way that bad references are reported by DocLint.
> 
> A new "mode" is introduced, `strictReferenceChecks`.   
> 
> If the mode is _not_ set, references that explicitly include a module name when that module name is not resolved in the module graph will be reported with a (suppressible) warning instead of an error.  All other issues with references will be reported as errors. This is the mode used by javac.
> 
> If the mode is set, all issues with references will be reported as errors. This is the mode used by javadoc.
> 
> This will need to be documented in the tool guide (man page).

This pull request has now been integrated.

Changeset: ee3be0bb
Author:    Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/ee3be0bb567f0e28fd3e920ef3685607d0a8d656
Stats:     311 lines in 5 files changed: 309 ins; 0 del; 2 mod

8280488: doclint reference checks withstand warning suppression

Reviewed-by: darcy

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

PR: https://git.openjdk.java.net/jdk/pull/7222


More information about the javadoc-dev mailing list