[jdk19] RFR: 8290625: Test jdk/javadoc/tool/CheckManPageOptions.java after manpage update

Hannes Wallnöfer hannesw at openjdk.org
Wed Jul 20 10:29:11 UTC 2022


On Wed, 20 Jul 2022 05:24:12 GMT, David Holmes <dholmes at openjdk.org> wrote:

> [JDK-8278274](https://bugs.openjdk.org/browse/JDK-8278274) just brought the nroff manpage into sync with its markdown source. But this test examines the nroff manpage and needs to be updated as the `--date` option is no longer missing.
> 
> Thanks.

test/langtools/jdk/javadoc/tool/CheckManPageOptions.java line 69:

> 67:     static final PrintStream out = System.err;
> 68: 
> 69:     List<String> MISSING_IN_MAN_PAGE = List.of("");

I think this should be just an empty list, i.e. `List.of()`.

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

PR: https://git.openjdk.org/jdk19/pull/149


More information about the javadoc-dev mailing list