Hi all,please review the fix for 8042581. This failure was only observed on Windows, so it is most possibly because the socket.close() on Windows is processed asynchronously within the Windows API layer (TCP machine) . Add 5 times of tries to the test if BindException is encountered on Windows.
Webrev: http://cr.openjdk.java.net/~xiaofeya/8042581/webrev.00/ Bug: https://bugs.openjdk.java.net/browse/JDK-8042581 Thanks! -Felix