RFR: 8232513: java/net/DatagramSocket/PortUnreachable.java still fails intermittently with BindException

Julia Boes julia.boes at oracle.com
Wed Dec 4 15:40:16 UTC 2019


Hi,

The test PortUnreachable closes a DatagramSocket and tries to rebind it 
to the same port, this causes the test to fail rarely with a 
BindException (I did 500 test runs and couldn't observe a failure). To 
decrease the likelihood of this to happen, the fix increases the number 
of bind retries and test repeats.

Bug: https://bugs.openjdk.java.net/browse/JDK-8232513

Webrev: http://cr.openjdk.java.net/~jboes/webrevs/8232513/webrev.00/

Regards,

Julia



More information about the net-dev mailing list