6961630: TEST_BUG: Several SocketChannel and Selector tests can fail with "address already in use"

Chris Hegarty chris.hegarty at oracle.com
Wed Jun 16 05:16:45 PDT 2010


The changes look fine.

I much prefer what you are doing by creating and binding the server 
socket during the construction of the server side, removing the 
readiness timing window.

-Chris.

On 06/16/10 11:54 AM, Alan Bateman wrote:
> Chris - do you mind looking at yet another webrev to address further
> intermittent failures. It's mostly older Selector and SocketChannel
> tests using fixed ports. Also one SelectorProvider test uses a small
> timeout causing it to fail periodically when the machine is loaded. The
> webrev is here:
> http://cr.openjdk.java.net/~alanb/6961630/webrev/
>
> Thanks,
> Alan.
>
>


More information about the nio-dev mailing list