--- a/src/java.base/share/classes/sun/net/PlatformSocketImpl.java Mon Feb 11 19:16:13 2019 +0000
+++ b/src/java.base/share/classes/sun/net/PlatformSocketImpl.java Wed Feb 13 08:29:35 2019 +0000
@@ -34,11 +34,6 @@
public interface PlatformSocketImpl {
/**
- * Creates a new instance of this SocketImpl.
- */
- <S extends SocketImpl & PlatformSocketImpl> S newInstance(boolean server);
-
- /**
* Invoked by ServerSocket to fix up the SocketImpl state after a connection
* is accepted by a custom SocketImpl
*/