--- a/test/jdk/java/net/httpclient/http2/ErrorTest.java Thu Mar 08 17:41:52 2018 +0000
+++ b/test/jdk/java/net/httpclient/http2/ErrorTest.java Thu Mar 08 17:42:16 2018 +0000
@@ -85,7 +85,7 @@
serverContext);
httpsServer.addHandler(new Http2EchoHandler(), "/");
int httpsPort = httpsServer.getAddress().getPort();
- String httpsURIString = "https://127.0.0.1:" + httpsPort + "/bar/";
+ String httpsURIString = "https://localhost:" + httpsPort + "/bar/";
httpsServer.start();
URI uri = URI.create(httpsURIString);