harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [jira] Updated: (HARMONY-6375) [classlib][nio]ServerSocketChannel hang when the main thread is waiting for request to accept and another thread try to configure the block mode on one channel
Date Fri, 13 Nov 2009 09:40:16 GMT

In message <55080442.1258095819685.JavaMail.jira@brutus>, "Ray Chen (JIRA)"
writes:
>
> Ray Chen updated HARMONY-6375:
> ------------------------------
> 
>     Attachment: Harmony6375TestCase.java
>
> It is a test case which can reproduce the problem
>
> > [classlib][nio]ServerSocketChannel hang when the main thread is
> > waiting for request to accept and another thread try to configure
> > the block mode on one channel


Please help save me from unstable tests!  Please delete getPort() and
do what you can to erase it from your memory. ;-)

My comment on HARMONY-6324 applies equally to this test case (except you
don't even need to get the OS assigned address/port back since it isn't
used).  See also:

  http://tellison.blogspot.com/2009/09/programming-sockets-using-temporary.html

Regards,
 Mark.



Mime
View raw message