Integrated: 8296175: Output warning if generated docs contain diagnostic markers

Hannes Wallnöfer hannesw at openjdk.org
Fri Apr 26 20:02:51 UTC 2024


On Fri, 26 Apr 2024 15:14:04 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> Please review a change to print a terminal message if the documentation generated by `HtmlDoclet` contains any diagnostic marker elements for invalid input. The message is printed after the documentation has been generated and before the error/warning count with the purpose to let the user know that the documentation is not ready to be deployed and can be consulted for locating invalid input. 
> 
> Example `javadoc` output containing the new message:
> 
> 
> ...
> Generating out/index.html...
> Generating out/help-doc.html...
> The generated documentation contains diagnostic markers for invalid input.
> 3 errors
> 1 warning

This pull request has now been integrated.

Changeset: aee91fbc
Author:    Hannes Wallnöfer <hannesw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/aee91fbc70df716b96c202511b4ff1b302df8d60
Stats:     44 lines in 5 files changed: 32 ins; 0 del; 12 mod

8296175: Output warning if generated docs contain diagnostic markers

Reviewed-by: jjg

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

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


More information about the javadoc-dev mailing list