[teststabilization] RFR 8229348: java/net/DatagramSocket/UnreferencedDatagramSockets.java fails intermittently

Daniel Fuchs daniel.fuchs at oracle.com
Fri Aug 9 15:36:29 UTC 2019


Hi,

Please find below a trivial fix for:

8229348: java/net/DatagramSocket/UnreferencedDatagramSockets.java
          fails intermittently
https://bugs.openjdk.java.net/browse/JDK-8229348

webrev: http://cr.openjdk.java.net/~dfuchs/webrev_8229348/webrev.00/

This test has been observed failing intermittently in our CI.
The test failed in timeout - and there's no message saying
that the expected reply has been received or that any file
descriptor has been freed.
I suspect the test was blocked in receive() in its main() method
due to port reuse issues.

The usual fix for that is to avoid binding to the wildcard.

best regards,

-- daniel


More information about the net-dev mailing list