--- a/src/java.base/share/classes/java/net/HttpConnectSocketImpl.java Sat Feb 09 08:54:02 2019 +0000
+++ b/src/java.base/share/classes/java/net/HttpConnectSocketImpl.java Sat Feb 09 19:16:30 2019 +0000
@@ -330,18 +330,4 @@
public SocketImpl delegate() {
return delegate;
}
-
- @Override
- public SocketImpl newInstance() {
- if (delegate instanceof PlainSocketImpl)
- return new HttpConnectSocketImpl(new PlainSocketImpl());
- else if (delegate instanceof NioSocketImpl)
- return new HttpConnectSocketImpl(new NioSocketImpl(false));
- throw new InternalError();
- }
-
- @Override
- public void postCustomAccept() {
- // TODO
- }
}