harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang" <zhanghuang...@gmail.com>
Subject Re: [classlib][luni] java.net.ServerSocketTest fails - need help
Date Wed, 06 Dec 2006 04:28:53 GMT
On 12/6/06, Zakharov, Vasily M <vasily.m.zakharov@intel.com> wrote:
>
>
> I've investigated the http://issues.apache.org/jira/browse/HARMONY-2338
> issue,
> the detailed description of the problem is available at the JIRA page.
>
> Could anyone qualified in java.net please look into it and suggest how
> this should be fixed?
>
> There's a problem with tests.api.java.net.ServerSocketTest test design
> that uses "random" ports for testing and fails when those ports happen
> to be occupied by other applications.


Hi Zakharov, I think we've agreed to use port 0 to select a free port in
test case.

But we're doing this lazily. I'll fix ServerSocketTest soon. Thanks!

I see many apparent possible fixes for the problem, but none of them
> looks good enough to implement immediately - they all have drawbacks and
> I'm not a java.net guru to judge which of those drawbacks are essential
> and which are not.
>
> Thank you!
>
> Vasily Zakharov
> Intel Enterprise Solutions Software Division
>



-- 
Best regards,
Andrew Zhang

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