Hi All, Please review the below fix.
Webrev: http://cr.openjdk.java.net/~vtewari/8212114/webrev0.0/index.html bugId: https://bugs.openjdk.java.net/browse/JDK-8212114this change the revert the effect of JDK-8189366, restore the existing(SocketInputStream:available() will throw the socketException if the underline socket is closed.) long-standing behavior.
Thanks, Vyom