changeset 47934:4fab795915b6

8191464: jdk/javadoc/doclet/testModules/TestModules.java 2 of 333 subtests failed Reviewed-by: bpatel
author jjg
date Fri, 17 Nov 2017 18:37:37 -0800
parents d13a28b0cdee
children ebe854b910ff
files src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Table.java test/langtools/jdk/javadoc/doclet/testModules/TestModules.java
diffstat 2 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Table.java	Fri Nov 17 07:34:59 2017 -0800
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Table.java	Fri Nov 17 18:37:37 2017 -0800
@@ -226,7 +226,7 @@
      *
      * <p>Notes:
      * <ul>
-     * <liThis currently does not use a {@code <thead>} tag, but probably should, eventually
+     * <li>This currently does not use a {@code <thead>} tag, but probably should, eventually
      * <li>The column styles are not currently applied to the header, but probably should, eventually
      * </ul>
      *
@@ -546,7 +546,7 @@
             sb.append("\"").append(rowIdPrefix).append(rowIndex).append("\":").append(mask);
             rowIndex++;
         }
-        sb.append("};").append(DocletConstants.NL);
+        sb.append("};\n");
 
         // Add the variable defining the tabs
         sb.append("var tabs = {");
@@ -561,7 +561,7 @@
             tabIndex++;
             maskBit = (maskBit << 1);
         }
-        sb.append("};").append(DocletConstants.NL);
+        sb.append("};\n");
 
         // Add the variables defining the stylenames
         appendStyleInfo(sb,
@@ -580,8 +580,7 @@
 
     private void appendStyleInfo(StringBuilder sb, HtmlStyle... styles) {
         for (HtmlStyle style : styles) {
-            sb.append("var ").append(style).append(" = \"").append(style)
-                    .append("\";").append(DocletConstants.NL);
+            sb.append("var ").append(style).append(" = \"").append(style).append("\";\n");
         }
 
     }
--- a/test/langtools/jdk/javadoc/doclet/testModules/TestModules.java	Fri Nov 17 07:34:59 2017 -0800
+++ b/test/langtools/jdk/javadoc/doclet/testModules/TestModules.java	Fri Nov 17 18:37:37 2017 -0800
@@ -24,8 +24,8 @@
 /*
  * @test
  * @bug 8154119 8154262 8156077 8157987 8154261 8154817 8135291 8155995 8162363
- *      8168766 8168688 8162674 8160196 8175799 8174974 8176778 8177562 8175218 8175823 8166306
- *      8178043 8181622 8183511 8169819 8074407 8183037
+ *      8168766 8168688 8162674 8160196 8175799 8174974 8176778 8177562 8175218
+ *      8175823 8166306 8178043 8181622 8183511 8169819 8074407 8183037 8191464
  * @summary Test modules support in javadoc.
  * @author bpatel
  * @library ../lib