Socket InputStream.available may return a positive value after shutdown (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Thu Aug 11 09:27:30 PDT 2011
- Previous message: Socket InputStream.available may return a positive value after shutdown
- Next message: Socket InputStream.available may return a positive value after shutdown
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Socket InputStream.available may return a positive value after shutdown
- Next message: Socket InputStream.available may return a positive value after shutdown
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]