--- a/test/jdk/java/net/httpclient/http2/ServerPushWithDiffTypes.java Thu Mar 08 17:41:52 2018 +0000
+++ b/test/jdk/java/net/httpclient/http2/ServerPushWithDiffTypes.java Thu Mar 08 17:42:16 2018 +0000
@@ -80,7 +80,7 @@
HttpClient client = HttpClient.newHttpClient();
// use multi-level path
- URI uri = new URI("http://127.0.0.1:" + port + "/foo/a/b/c");
+ URI uri = new URI("http://localhost:" + port + "/foo/a/b/c");
HttpRequest request = HttpRequest.newBuilder(uri).GET().build();
ConcurrentMap<HttpRequest,CompletableFuture<HttpResponse<BodyAndType<?>>>>