--- a/test/langtools/jdk/javadoc/doclet/testAnchorNames/TestAnchorNames.java Tue Mar 06 17:43:21 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testAnchorNames/TestAnchorNames.java Tue Mar 06 10:45:47 2018 -0800
@@ -23,7 +23,7 @@
/*
* @test
- * @bug 8025633 8025524 8081854 8187521
+ * @bug 8025633 8025524 8081854 8187521 8182765
* @summary Test for valid name attribute in HTML anchors.
* @author Bhavesh Patel
* @library /tools/lib ../lib
@@ -33,7 +33,6 @@
*/
import java.io.IOException;
-import java.nio.charset.Charset;
import java.nio.file.Path;
import java.nio.file.Paths;
@@ -54,6 +53,7 @@
@Test
void testHtml4(Path ignore) {
javadoc("-d", "out-html4",
+ "-html4",
"-sourcepath", testSrc,
"-source", "8", //so that '_' can be used as an identifier
"-use",
@@ -175,7 +175,6 @@
"-sourcepath", testSrc,
"-source", "8", //so that '_' can be used as an identifier
"-use",
- "-html5",
"pkg1");
checkExit(Exit.OK);