--- a/test/jdk/java/net/httpclient/RetryWithCookie.java Mon Jun 18 09:57:09 2018 +0100
+++ b/test/jdk/java/net/httpclient/RetryWithCookie.java Tue Jun 19 09:13:58 2018 +0100
@@ -165,7 +165,7 @@
http2TestServer = HttpTestServer.of(new Http2TestServer("localhost", false, 0));
http2TestServer.addHandler(new CookieRetryHandler(), "/http2/cookie/");
http2URI = "http://" + http2TestServer.serverAuthority() + "/http2/cookie/retry";
- https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, 0));
+ https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, sslContext));
https2TestServer.addHandler(new CookieRetryHandler(), "/https2/cookie/");
https2URI = "https://" + https2TestServer.serverAuthority() + "/https2/cookie/retry";