8278538: Test langtools/jdk/javadoc/tool/CheckManPageOptions.java fails after the manpage was updated

Reviewed-by: dholmes
This commit is contained in:
Jonathan Gibbons 2021-12-10 05:02:28 +00:00
parent ed5d53ae0e
commit 3df8dc494d

View File

@ -23,7 +23,7 @@
/*
* @test
* @bug 8274211
* @bug 8274211 8278538
* @summary Test man page that options are documented
* @modules jdk.javadoc/jdk.javadoc.internal.tool:+open
* @run main CheckManPageOptions
@ -60,16 +60,7 @@ public class CheckManPageOptions {
static final PrintStream out = System.err;
// FIXME: JDK-8274295, JDK-8266666, JDK-8278077
List<String> MISSING_IN_MAN_PAGE = List.of(
"--add-script",
"--legal-notices",
"--link-modularity-mismatch",
"--link-platform-properties",
"--no-platform-links",
"--since",
"--since-label",
"--snippet-path");
List<String> MISSING_IN_MAN_PAGE = List.of();
void run(String... args) throws Exception {
var file = args.length == 0 ? findDefaultFile() : Path.of(args[0]);