# HG changeset patch # User apetcher # Date 1527881827 14400 # Node ID 2a396fdb3afbcc98d129ff13676080d339b38b51 # Parent edae531632f5394b6a035bd6e424cddad8e6c3df Enabling TLS 1.3 in HTTP client defaults diff -r edae531632f5 -r 2a396fdb3afb src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java --- a/src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java Fri Jun 01 11:51:38 2018 -0700 +++ b/src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java Fri Jun 01 15:37:07 2018 -0400 @@ -298,7 +298,7 @@ private static SSLParameters getDefaultParams(SSLContext ctx) { SSLParameters params = ctx.getSupportedSSLParameters(); - params.setProtocols(new String[]{"TLSv1.2"}); + params.setProtocols(new String[]{"TLSv1.2", "TLSv1.3"}); return params; }