diff --git a/test/javax/swing/text/html/TestJLabelWithHTMLText.java b/test/javax/swing/text/html/TestJLabelWithHTMLText.java
index eec9e6c932f0548f122c601ceedfcb2760fb4c38..6fa70df83cc8050e0654e0b99ee62e18ee4286a1 100644
--- a/test/javax/swing/text/html/TestJLabelWithHTMLText.java
+++ b/test/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();
}