test/jdk/sun/security/tools/jarsigner/compatibility/HtmlHelper.java
changeset 57488 94691d8e746f
parent 47216 71c04702a3d5
--- a/test/jdk/sun/security/tools/jarsigner/compatibility/HtmlHelper.java	Wed Jul 17 12:26:56 2019 -0300
+++ b/test/jdk/sun/security/tools/jarsigner/compatibility/HtmlHelper.java	Thu Jul 18 08:53:06 2019 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -60,7 +60,7 @@
     }
 
     public static String startTable() {
-        return startTag("table " + STYLE);
+        return startTag("table border=\"1\" padding=\"1\" cellspacing=\"0\" " + STYLE);
     }
 
     public static String endTable() {
@@ -68,19 +68,19 @@
     }
 
     public static String startTr() {
-        return startTag("tr");
+        return "\t" + startTag("tr") + "\n";
     }
 
     public static String endTr() {
-        return endTag("tr");
+        return "\t" + endTag("tr") + "\n";
     }
 
     public static String startTd() {
-        return startTag("td");
+        return "\t\t" + startTag("td");
     }
 
     public static String endTd() {
-        return endTag("td");
+        return endTag("td") + "\n";
     }
 
     public static String startTag(String tag) {
@@ -92,7 +92,7 @@
     }
 
     public static String anchorName(String name, String text) {
-        return "<a name=" + name + ">" + text + "</a>";
+        return "<a name=" + name + "><hr/>" + text + "</a>";
     }
 
     public static String anchorLink(String file, String anchorName,