test/jdk/java/net/httpclient/ManyRequestsLegacy.java
branchhttp-client-branch
changeset 56126 86e628130926
parent 56089 42208b2f224e
child 56139 b3d6203051df
--- a/test/jdk/java/net/httpclient/ManyRequestsLegacy.java	Tue Feb 13 16:22:49 2018 +0000
+++ b/test/jdk/java/net/httpclient/ManyRequestsLegacy.java	Wed Feb 14 16:04:18 2018 +0000
@@ -139,12 +139,8 @@
             @Override
             public byte[] body() {return response;}
             @Override
-            public SSLParameters sslParameters() {
-                try {
-                    return SSLContext.getDefault().getDefaultSSLParameters();
-                } catch (NoSuchAlgorithmException ex) {
-                    throw new UnsupportedOperationException(ex);
-                }
+            public Optional<SSLSession> sslSession() {
+                return Optional.empty(); // for now
             }
             @Override
             public URI uri() { return request.uri();}