Socket.isBound and DatagramSocket.isBound are specified such that when the socket is closed and was previously bound, then true is returned. ServerSocket has the same behavior and needs a spec update to reflect this.
- csr for
-
JDK-8229978 Update ServerSocket.isBound spec to reflect implementation after close
-
- Closed
-
- relates to
-
JDK-6505016 Socket spec should clarify what getInetAddress/getPort/etc return after the Socket is closed
-
- Closed
-