diff -r f1626bc0a010 -r 73a6534bce94 test/jdk/java/net/httpclient/AsFileDownloadTest.java --- a/test/jdk/java/net/httpclient/AsFileDownloadTest.java Mon Jun 18 09:57:09 2018 +0100 +++ b/test/jdk/java/net/httpclient/AsFileDownloadTest.java Tue Jun 19 09:13:58 2018 +0100 @@ -303,7 +303,7 @@ http2TestServer.addHandler(new Http2FileDispoHandler(), "/http2/afdt"); http2URI = "http://" + http2TestServer.serverAuthority() + "/http2/afdt"; - https2TestServer = new Http2TestServer("localhost", true, 0); + https2TestServer = new Http2TestServer("localhost", true, sslContext); https2TestServer.addHandler(new Http2FileDispoHandler(), "/https2/afdt"); https2URI = "https://" + https2TestServer.serverAuthority() + "/https2/afdt";