diff -r 818a23db260c -r 4254bed3c09d test/jdk/java/net/httpclient/NonAsciiCharsInURI.java --- 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";