test/jdk/java/net/httpclient/InvalidInputStreamSubscriptionRequest.java
changeset 50681 4254bed3c09d
parent 49765 ee6f7a61f3a5
child 52121 934969c63223
child 56795 03ece2518428
--- a/test/jdk/java/net/httpclient/InvalidInputStreamSubscriptionRequest.java	Wed Jun 20 17:15:16 2018 +0200
+++ b/test/jdk/java/net/httpclient/InvalidInputStreamSubscriptionRequest.java	Wed Jun 20 09:05:57 2018 -0700
@@ -472,7 +472,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";