The implementations of the following methods currently throw an IOException but these methods currently don't specify it:
- Socket.connect methods throw IOException if already connected or closed
- Socket.bind throws an IOException when already closed
- ServerSocket.accept method throws an IOException if the ServerSocket isn't bound or is already closed
- ServerSocket.bind methods throw an IOException when it's already closed
- Socket.connect methods throw IOException if already connected or closed
- Socket.bind throws an IOException when already closed
- ServerSocket.accept method throws an IOException if the ServerSocket isn't bound or is already closed
- ServerSocket.bind methods throw an IOException when it's already closed
- csr for
-
JDK-8336868 Several methods in java.net.Socket and ServerSocket do not specify behavior when already bound, connected or closed
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/04e8cb86
-
Review(master) openjdk/jdk/20268