diff -r 818a23db260c -r 4254bed3c09d test/jdk/java/net/httpclient/InvalidSubscriptionRequest.java --- a/test/jdk/java/net/httpclient/InvalidSubscriptionRequest.java Wed Jun 20 17:15:16 2018 +0200 +++ b/test/jdk/java/net/httpclient/InvalidSubscriptionRequest.java Wed Jun 20 09:05:57 2018 -0700 @@ -404,7 +404,7 @@ http2URI_fixed = "http://" + http2TestServer.serverAuthority() + "/http2/fixed"; http2URI_chunk = "http://" + http2TestServer.serverAuthority() + "/http2/chunk"; - https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, 0)); + https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, sslContext)); https2TestServer.addHandler(h2_fixedLengthHandler, "/https2/fixed"); https2TestServer.addHandler(h2_chunkedHandler, "/https2/chunk"); https2URI_fixed = "https://" + https2TestServer.serverAuthority() + "/https2/fixed";