< prev index next >

src/java.base/share/classes/java/net/ServerSocket.java

Print this page

        

*** 74,87 **** * Are we using an older SocketImpl? */ private boolean oldImpl = false; /** ! * Package-private constructor to create a ServerSocket associated with ! * the given SocketImpl. */ ! ServerSocket(SocketImpl impl) { this.impl = impl; impl.setServerSocket(this); } /** --- 74,88 ---- * Are we using an older SocketImpl? */ private boolean oldImpl = false; /** ! * Creates a server socket with a user-specified SocketImpl. ! * ! * @param impl the user-specified SocketImpl */ ! protected ServerSocket(SocketImpl impl) { this.impl = impl; impl.setServerSocket(this); } /**
< prev index next >