src/java.base/share/classes/sun/net/PlatformSocketImpl.java
branchniosocketimpl-branch
changeset 57252 d70fc9bc1430
parent 57222 86e1d9d76ef4
child 57268 adcdd45830a0
--- a/src/java.base/share/classes/sun/net/PlatformSocketImpl.java	Sat Mar 09 12:54:20 2019 +0000
+++ b/src/java.base/share/classes/sun/net/PlatformSocketImpl.java	Mon Mar 11 19:53:08 2019 +0000
@@ -24,20 +24,9 @@
  */
 package sun.net;
 
-import java.net.SocketImpl;
-
 /**
  * Implemented by the platform's SocketImpl implementations.
  */
 
 public interface PlatformSocketImpl {
-
-    /**
-     * Copy the state from this connected SocketImpl to a target SocketImpl. If
-     * the target SocketImpl is not a newly created SocketImpl then it is first
-     * closed to release any resources. The target SocketImpl becomes the owner
-     * of the file descriptor, this SocketImpl is marked as closed and should
-     * be discarded.
-     */
-    void copyTo(SocketImpl si);
 }