--- 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();}