--- a/test/jdk/java/net/httpclient/RedirectWithCookie.java Wed Jun 20 17:15:16 2018 +0200
+++ b/test/jdk/java/net/httpclient/RedirectWithCookie.java Wed Jun 20 09:05:57 2018 -0700
@@ -167,7 +167,7 @@
http2TestServer = HttpTestServer.of(new Http2TestServer("localhost", false, 0));
http2TestServer.addHandler(new CookieRedirectHandler(), "/http2/cookie/");
http2URI = "http://" + http2TestServer.serverAuthority() + "/http2/cookie/redirect";
- https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, 0));
+ https2TestServer = HttpTestServer.of(new Http2TestServer("localhost", true, sslContext));
https2TestServer.addHandler(new CookieRedirectHandler(), "/https2/cookie/");
https2URI = "https://" + https2TestServer.serverAuthority() + "/https2/cookie/redirect";