Skip to content

Commit fac5955

Browse files
Andrew LuGoeLin
Andrew Lu
authored andcommitted
8238740: java/net/httpclient/whitebox/FlowTestDriver.java should not specify a TLS protocol
Backport-of: edaf548
1 parent f2488a3 commit fac5955

File tree

1 file changed

+0
-1
lines changed
  • test/jdk/java/net/httpclient/whitebox/java.net.http/jdk/internal/net/http

1 file changed

+0
-1
lines changed

test/jdk/java/net/httpclient/whitebox/java.net.http/jdk/internal/net/http/FlowTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public FlowTest() throws IOException {
9090
SSLEngine engineClient = ctx.createSSLEngine();
9191
SSLParameters params = ctx.getSupportedSSLParameters();
9292
params.setApplicationProtocols(new String[]{"proto1", "proto2"}); // server will choose proto2
93-
params.setProtocols(new String[]{"TLSv1.2"}); // TODO: This is essential. Needs to be protocol impl
9493
engineClient.setSSLParameters(params);
9594
engineClient.setUseClientMode(true);
9695
completion = new CompletableFuture<>();

0 commit comments

Comments
 (0)