harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Chen <clrayc...@gmail.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 Mon, 16 Nov 2009 02:08:57 GMT
Hi Mark,

Sorry for the "getPort()", and I have updated the testcase to version 2, the
"getPort()" has been erased from my memory too now :) .

On Fri, Nov 13, 2009 at 5:40 PM, Mark Hindess
<mark.hindess@googlemail.com>wrote:

>
> 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.
>
>
>


-- 
Regards,

Ray Chen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message