Socket InputStream.available may return a positive value after shutdown
Alan Bateman
Alan.Bateman at oracle.com
Thu Aug 11 09:27:30 PDT 2011
Chris Hegarty wrote:
> Here is a first stab at fixing this issue.
>
> http://cr.openjdk.java.net/~chegar/7014860/webrev.00/webrev/
>
> -Chris.
The spec clarification seems reasonable to me. Small typo "the streams
available method" to "the stream's available method".
Good to see the NIO socket adapter included in the test. One comment on
the test is that the Thread.dumpStack is a bit odd. It might be better
to pass in a test name into the test method and have that printed by the
failure message.
-Alan.
More information about the net-dev
mailing list