6987116: (so) test/java/nio/channels/SocketChannel/VectorIO.java failed on Solaris 11

Rémi Forax forax at univ-mlv.fr
Tue Oct 5 04:56:38 PDT 2010


  Le 05/10/2010 13:12, Alan Bateman a écrit :
>
> I need a reviewer for a small update to 
> test/java/nio/channels/SocketChannel/VectorIO.java. It's an old test 
> that does a non-blocking write without considering the case that the 
> write may return 0 because the socket buffer is full.  The webrev with 
> the changes is here:
>   http://cr.openjdk.java.net/~alanb/6987116/webrev/
>
> Thanks,
> Alan.

Looks good.

Perhaps, you should initialize the pseudo random generator with a seed
to make the test repeatable.

cheers,
Rémi


More information about the nio-dev mailing list