8191464: jdk/javadoc/doclet/testModules/TestModules.java 2 of 333 subtests failed

Reviewed-by: bpatel
This commit is contained in:
Jonathan Gibbons 2017-11-17 18:37:37 -08:00
parent cc49454031
commit 1e9c354dca
2 changed files with 6 additions and 7 deletions
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup
test/langtools/jdk/javadoc/doclet/testModules

@ -226,7 +226,7 @@ public class Table {
*
* <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 @@ public class Table {
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 @@ public class Table {
tabIndex++;
maskBit = (maskBit << 1);
}
sb.append("};").append(DocletConstants.NL);
sb.append("};\n");
// Add the variables defining the stylenames
appendStyleInfo(sb,
@ -580,8 +580,7 @@ public class Table {
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");
}
}

@ -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