RFR 8042581: Intermittent failure in java/net/DatagramSocket/InheritHandle.java
Alan.Bateman at oracle.com
Mon Dec 29 15:51:25 UTC 2014
On 29/12/2014 15:46, Chris Hegarty wrote:
> 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.
I agree with Chris' comment. One other thing is that testing if e
instanceof BindException is not necessary as e will always be a
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the net-dev