harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: RI's bug of Socket.getOutputStream().write(byte[]) ?
Date Fri, 23 Jun 2006 14:12:36 GMT
Andrew Zhang wrote:
> Hi Alexander,
> Thanks for your kind reminder.
> Certainly I'll use sth. like Support_PortManager.getNextPort() to avoid
> such
> port conflict issue.

No, please!  Don't perpetuate that abomination<g>!  Alexander is right,
you should bind to port 0 and let the OS assign one.

> Here I just want to describe the problem.
> The test still fails on my machine sometimes.  Could anyone tell me how to
> write a stable test on this issue?
> Or is it a bug of RI? Or is it possible to write a theoretically stable
> test?

Perhaps you could tell us what you are testing on?



Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message