changeset 59384:ccdd7713f14a

8235744: PIT: test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java times out in linux-x64 Reviewed-by: psadhukhan, prr
author pbansal
date Fri, 13 Dec 2019 12:08:10 +0530
parents 06d0db76de0b
children fa82151f29c4
files test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java	Fri Dec 13 02:45:28 2019 +0100
+++ b/test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java	Fri Dec 13 12:08:10 2019 +0530
@@ -23,7 +23,7 @@
 
 /**
  * @test
- * @bug 8230235
+ * @bug 8230235 8235744
  * @summary Tests if JLabel with HTML text having empty img tag and
  *      documentBaseKey set renders properly without NPE
  * @run main TestJLabelWithHTMLText
@@ -41,7 +41,7 @@
             JLabel label = new JLabel();
             try {
                 label.putClientProperty(BasicHTML.documentBaseKey,
-                        new URL("https://www.google.com"));
+                        new URL("http://localhost"));
             } catch (MalformedURLException e) {
                 e.printStackTrace();
             }