Hello Andrew,
I ran the test on RI (1.4.2_04-b05 and 1.5.0-b64) and could not
reproduce the failure. Is it still an issue?
Can I suggest a little improvement for your test? Try do not use
hardcoded port numbers in the test.
Let the ServerSocket choose the available port by specifying 0 as parameter.
I.e. write the test as:
ServerSocket server = new ServerSocket(0);
InetSocketAddress localAddr1 = new InetSocketAddress("127.0.0.1",
server.getLocalPort());
Such a way prevents the test from "Address in use" exception.
Thank You,
Alexander
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]