diff -r 818a23db260c -r 4254bed3c09d test/jdk/java/net/httpclient/EscapedOctetsInURI.java --- a/test/jdk/java/net/httpclient/EscapedOctetsInURI.java Wed Jun 20 17:15:16 2018 +0200 +++ b/test/jdk/java/net/httpclient/EscapedOctetsInURI.java Wed Jun 20 09:05:57 2018 -0700 @@ -201,7 +201,7 @@ http2TestServer.addHandler(new HttpASCIIUriStringHandler(), "/http2"); http2URI = "http://" + http2TestServer.serverAuthority() + "/http2"; - https2TestServer = new Http2TestServer("localhost", true, 0); + https2TestServer = new Http2TestServer("localhost", true, sslContext); https2TestServer.addHandler(new HttpASCIIUriStringHandler(), "/https2"); https2URI = "https://" + https2TestServer.serverAuthority() + "/https2";