--- a/src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java Wed Jun 06 09:39:14 2018 -0700
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java Wed Jun 06 14:29:49 2018 -0400
@@ -298,7 +298,7 @@
private static SSLParameters getDefaultParams(SSLContext ctx) {
SSLParameters params = ctx.getSupportedSSLParameters();
- params.setProtocols(new String[]{"TLSv1.2", "TLSv1.3"});
+ params.setProtocols(new String[]{"TLSv1.2"});
return params;
}
--- a/test/jdk/java/net/httpclient/http2/TLSConnection.java Wed Jun 06 09:39:14 2018 -0700
+++ b/test/jdk/java/net/httpclient/http2/TLSConnection.java Wed Jun 06 14:29:49 2018 -0400
@@ -92,7 +92,7 @@
"---\nTest #2: default SSL parameters, "
+ "expect successful connection",
() -> connect(uriString, USE_DEFAULT_SSL_PARAMETERS));
- success &= checkProtocol(handler.getSSLSession(), "TLSv1.3");
+ success &= checkProtocol(handler.getSSLSession(), "TLSv1.2");
// set SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA cipher suite
// which has less priority in default cipher suite list