RFR: 8189366: SocketInputStream.available() should check for eof
vyom tewari
vyom.tewari at oracle.com
Thu Oct 26 09:26:15 UTC 2017
Hi All,
Please review the simple change below.
Webrev : http://cr.openjdk.java.net/~vtewari/8189366/webrev0.0/index.html
BugId : https://bugs.openjdk.java.net/browse/JDK-8189366
Currently SocketInputStream.available() does not check for "eof" and
simply delegate to the impl even when "eof" reached. I put a check to
return 0 if "eof" is already reached.
Thanks,
Vyom
More information about the net-dev
mailing list