diff --git a/test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java b/test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java
index eec9e6c932..6fa70df83c 100644
--- a/test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java
+++ b/test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java
@@ -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 @@ public class TestJLabelWithHTMLText {
JLabel label = new JLabel();
try {
label.putClientProperty(BasicHTML.documentBaseKey,
- new URL("https://www.google.com"));
+ new URL("http://localhost"));
} catch (MalformedURLException e) {
e.printStackTrace();
}