RFR 8002297: sun/net/www/protocol/http/StackTraceTest.java fails intermittently

Alan Bateman Alan.Bateman at oracle.com
Tue Nov 6 03:17:28 PST 2012


On 06/11/2012 11:08, Chris Hegarty wrote:
> Trivial test issue where the test will fail if run on a machine that 
> has a process listening on port 8080 ( test expects this port to 
> refuse the connection ). The solution is to simply open and close a 
> listening socket and use its ephemeral port. Should be good enough.
>
> http://cr.openjdk.java.net/~chegar/8002297/webrev.00/webrev/
>
> -Chris
It looks okay to me as the port shouldn't been re-used quickly enough to 
allow something else use the same port.

-Alan



More information about the net-dev mailing list