Integrated: JDK-8286338: suppress warnings about bad @author tags when author info is not generated.

Jonathan Gibbons jjg at openjdk.java.net
Tue May 17 20:42:05 UTC 2022


On Fri, 6 May 2022 22:06:17 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review a simple small change to `TagletManager`, to not report warnings about bad use of tags (such as `@author` and `@version`) when command-line options have not been given to enable the use of the tags in the output (i.e. the `-author` and the dreadfully-named `-version` option.)
> 
> The change is more pragmatic than anything else.  There are lots of "bad" uses of `@author` in JDK API documentation, on methods. The alternative would be to permit the tag anywhere, but that would be both a spec change and work to implement the change that we're not really interest in, since the tag is now somewhat deprecated.
> 
> Two existing tests are updated, to test the handling of "bad" tags, with and without the enabling option.
> 
> Another test has some very (very) old unused lines deleted. If today was Thursday, I'd call it Throwback Thursday. These lines predate the `JavadocTester` conversion.

This pull request has now been integrated.

Changeset: 141ef68f
Author:    Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/141ef68f8250ac0b97d481c2f727628c03ea4943
Stats:     99 lines in 4 files changed: 86 ins; 10 del; 3 mod

8286338: suppress warnings about bad @author tags when author info is not generated.

Reviewed-by: prappo

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

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


More information about the javadoc-dev mailing list