test/jdk/java/net/httpclient/NonAsciiCharsInURI.java
changeset 50681 4254bed3c09d
parent 49944 4690a2871b44
child 52121 934969c63223
--- a/test/jdk/java/net/httpclient/NonAsciiCharsInURI.java	Wed Jun 20 17:15:16 2018 +0200
+++ b/test/jdk/java/net/httpclient/NonAsciiCharsInURI.java	Wed Jun 20 09:05:57 2018 -0700
@@ -216,7 +216,7 @@
         http2TestServer.addHandler(handler, "/http2");
         http2URI = "http://" + http2TestServer.serverAuthority() + "/http2";
 
-        https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, 0));
+        https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, sslContext));
         https2TestServer.addHandler(handler, "/https2");
         https2URI = "https://" + https2TestServer.serverAuthority() + "/https2";