In message <55080442.1258095819685.javamail.j...@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.


Reply via email to