RFR 8042581: Intermittent failure in java/net/DatagramSocket/InheritHandle.java
chris.hegarty at oracle.com
Mon Dec 29 15:46:43 UTC 2014
Looks ok Felix.
You could put the construction of the new DatagramSocket in a try-with-resources, so it will be closed always, even if the test fails.
> On 29 Dec 2014, at 10:04, FELIX YANG <felix.yang at oracle.com> wrote:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the net-dev