Previous to JDK-8189366, `available` threw an IOException when the socket input stream is closed. After JDK-8189366, `available` will return 0, if EOF was reached before the stream is closed.
- relates to
-
JDK-8189366 SocketInputStream.available() should check for eof
-
- Closed
-