--- a/test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java Tue May 21 10:46:08 2019 +0200
+++ b/test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java Tue May 21 15:02:18 2019 +0530
@@ -24,7 +24,7 @@
/*
* @test
* @bug 8072945 8081854 8141492 8148985 8150188 4649116 8173707 8151743 8169819 8183037 8182765 8196202
- * 8202624 8210047 8184205 8221871
+ * 8202624 8210047 8184205 8221871 8223733
* @summary Test the version of HTML generated by the javadoc tool.
* @author bpatel
* @library ../../lib
@@ -324,17 +324,17 @@
+ "</a>\n"
+ "<h2>Method Summary</h2>",
"<section class=\"fieldDetails\">\n"
- + "<h2>Field Detail</h2>\n"
+ + "<h2>Field Details</h2>\n"
+ "<a id=\"field.detail\">\n"
+ "<!-- -->\n"
+ "</a>",
"<section class=\"constructorDetails\">\n"
- + "<h2>Constructor Detail</h2>\n"
+ + "<h2>Constructor Details</h2>\n"
+ "<a id=\"constructor.detail\">\n"
+ "<!-- -->\n"
+ "</a>",
"<section class=\"methodDetails\">\n"
- + "<h2>Method Detail</h2>\n"
+ + "<h2>Method Details</h2>\n"
+ "<a id=\"method.detail\">\n"
+ "<!-- -->\n"
+ "</a>",
@@ -368,12 +368,12 @@
+ "<div class=\"memberSummary\">\n",
"<table aria-labelledby=\"t0\">",
"<section class=\"constantDetails\">\n"
- + "<h2>Enum Constant Detail</h2>\n"
+ + "<h2>Enum Constant Details</h2>\n"
+ "<a id=\"enum.constant.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n",
"<section class=\"methodDetails\">\n"
- + "<h2>Method Detail</h2>\n"
+ + "<h2>Method Details</h2>\n"
+ "<a id=\"method.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n",
@@ -401,7 +401,7 @@
+ "<div class=\"memberSummary\">\n",
"<table aria-labelledby=\"t0\">\n",
"<section class=\"methodDetails\">\n"
- + "<h2>Method Detail</h2>\n"
+ + "<h2>Method Details</h2>\n"
+ "<a id=\"method.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n",
@@ -427,7 +427,7 @@
+ "</a>\n"
+ "<h2>Constructor Summary</h2>",
"<section class=\"constructorDetails\">\n"
- + "<h2>Constructor Detail</h2>\n"
+ + "<h2>Constructor Details</h2>\n"
+ "<a id=\"constructor.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n",
@@ -453,7 +453,7 @@
+ "</a>\n"
+ "<h2>Constructor Summary</h2>",
"<section class=\"constructorDetails\">\n"
- + "<h2>Constructor Detail</h2>\n"
+ + "<h2>Constructor Details</h2>\n"
+ "<a id=\"constructor.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n",
@@ -485,7 +485,7 @@
+ "<h2>Optional Element Summary</h2>\n"
+ "<div class=\"memberSummary\">\n<table>",
"<section class=\"memberDetails\">\n"
- + "<h2>Element Detail</h2>\n"
+ + "<h2>Element Details</h2>\n"
+ "<a id=\"annotation.type.element.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n",
@@ -742,19 +742,19 @@
+ "<li class=\"blockList\"><a name=\"field.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n"
- + "<h2>Field Detail</h2>",
+ + "<h2>Field Details</h2>",
"<!-- ========= CONSTRUCTOR DETAIL ======== -->\n"
+ "<ul class=\"blockList\">\n"
+ "<li class=\"blockList\"><a name=\"constructor.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n"
- + "<h2>Constructor Detail</h2>",
+ + "<h2>Constructor Details</h2>",
"<!-- ============ METHOD DETAIL ========== -->\n"
+ "<ul class=\"blockList\">\n"
+ "<li class=\"blockList\"><a name=\"method.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n"
- + "<h2>Method Detail</h2>");
+ + "<h2>Method Details</h2>");
// Negated test for enum page
checkOutput("pkg/AnotherClass.ModalExclusionType.html", false,
@@ -786,13 +786,13 @@
+ "<li class=\"blockList\"><a name=\"enum.constant.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n"
- + "<h2>Enum Constant Detail</h2>",
+ + "<h2>Enum Constant Details</h2>",
"<!-- ============ METHOD DETAIL ========== -->\n"
+ "<ul class=\"blockList\">\n"
+ "<li class=\"blockList\"><a name=\"method.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n"
- + "<h2>Method Detail</h2>");
+ + "<h2>Method Details</h2>");
// Negated test for interface page
checkOutput("pkg2/Interface.html", false,
@@ -816,7 +816,7 @@
+ "<li class=\"blockList\"><a name=\"method.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n"
- + "<h2>Method Detail</h2>");
+ + "<h2>Method Details</h2>");
// Negated test for error page
checkOutput("pkg/TestError.html", false,
@@ -838,7 +838,7 @@
+ "<li class=\"blockList\"><a name=\"constructor.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n"
- + "<h2>Constructor Detail</h2>");
+ + "<h2>Constructor Details</h2>");
// Negated test for exception page
checkOutput("pkg/TestException.html", false,
@@ -860,7 +860,7 @@
+ "<li class=\"blockList\"><a name=\"constructor.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n"
- + "<h2>Constructor Detail</h2>");
+ + "<h2>Constructor Details</h2>");
// Negated test for annotation page
checkOutput("pkg2/TestAnnotationType.html", false,
@@ -892,7 +892,7 @@
+ "<li class=\"blockList\"><a name=\"annotation.type.element.detail\">\n"
+ "<!-- -->\n"
+ "</a>\n"
- + "<h2>Element Detail</h2>");
+ + "<h2>Element Details</h2>");
// Negated test for class use page
checkOutput("pkg1/class-use/RegClass.html", false,