diff -r 818a23db260c -r 4254bed3c09d test/jdk/java/net/httpclient/ConcurrentResponses.java --- a/test/jdk/java/net/httpclient/ConcurrentResponses.java Wed Jun 20 17:15:16 2018 +0200 +++ b/test/jdk/java/net/httpclient/ConcurrentResponses.java Wed Jun 20 09:05:57 2018 -0700 @@ -35,7 +35,9 @@ * @library /lib/testlibrary http2/server * @build Http2TestServer * @build jdk.testlibrary.SimpleSSLContext - * @run testng/othervm -Djdk.internal.httpclient.debug=true ConcurrentResponses + * @run testng/othervm + * -Djdk.httpclient.HttpClient.log=headers,errors,channel + * ConcurrentResponses */ import java.io.IOException; @@ -280,7 +282,7 @@ http2TestServer.addHandler(new Http2VariableHandler(), "/http2/variable"); http2VariableURI = "http://" + http2TestServer.serverAuthority() + "/http2/variable"; - https2TestServer = new Http2TestServer("localhost", true, 0); + https2TestServer = new Http2TestServer("localhost", true, sslContext); https2TestServer.addHandler(new Http2FixedHandler(), "/https2/fixed"); https2FixedURI = "https://" + https2TestServer.serverAuthority() + "/https2/fixed"; https2TestServer.addHandler(new Http2VariableHandler(), "/https2/variable");