6932744: TEST_BUG: java/nio/channels/Selector/OpRead.java failing

Chris Hegarty chris.hegarty at oracle.com
Tue Jun 15 08:03:08 PDT 2010


The changes look fine.

One minor comment. Will InetAddress.getLocalHost ever throw 
UnknownHostException (if the hostname is not in DNS)? You could simply 
create the InetSocketAddress with "localhost". Either is fine with me.

-Chris.

Alan Bateman wrote:
> Chris - here's another intermittent test failure that Kelly is seeing. A 
> really old test, OpRead, connects to a daytime service and expects the 
> channel to be readable within 1 second. To make the test more robust 
> I've replaced the dependency on the daytime service with a loopback 
> connection. The webrev is here:
>    http://cr.openjdk.java.net/~alanb/6932744/webrev/
> 
> Thanks,
> Alan.


More information about the nio-dev mailing list