diff --git a/langtools/test/tools/javadoc/6227454/Test.java b/langtools/test/tools/javadoc/6227454/Test.java index e42c301b6d7..89c02a89dda 100644 --- a/langtools/test/tools/javadoc/6227454/Test.java +++ b/langtools/test/tools/javadoc/6227454/Test.java @@ -38,15 +38,17 @@ public class Test extends Doclet { } void run() throws Exception { - test("ABC XYZ"); - test("ABC XYZ"); - test("ABC XYZ"); - test("ABC XYZ"); - test("ABC XYZ"); - test(" ABC XYZ", "Body tag missing from HTML"); - test("ABC XYZ ", "Close body tag missing from HTML"); - test(" ABC XYZ ", "Body tag missing from HTML"); - test("ABC" + bigText(8192, 40) + "XYZ"); + String docType = ""; + test(docType+"ABC XYZ"); + test(docType+"ABC XYZ"); + test(docType+"ABC XYZ"); + test(docType+"ABC XYZ"); + test(docType+"ABC XYZ"); + test(docType+" ABC XYZ", "Body tag missing from HTML"); + test(docType+"ABC XYZ ", "Close body tag missing from HTML"); + test(docType+" ABC XYZ ", "Body tag missing from HTML"); + test(docType+"ABC" + bigText(8192, 40) + "XYZ"); if (errors > 0) throw new Exception(errors + " errors occurred");