Hi, Please find below a trivial fix for:
8249812: java/net/DatagramSocket/PortUnreachable.java still fails intermittently with SocketTimeoutException https://bugs.openjdk.java.net/browse/JDK-8249812 webrev: http://cr.openjdk.java.net/~dfuchs/webrev_8249812/webrev.00/ The main method has a retry logic that catches BindException, but that exception is swallowed by serverSend(). serverSend() should propagate that exception, as there is no point waiting for the DatagramPacket to arrive if it has not been sent. best regards, -- daniel