8249812: java/net/DatagramSocket/PortUnreachable.java still fails intermittently with SocketTimeoutException

Alan Bateman Alan.Bateman at oracle.com
Wed Jul 22 12:48:33 UTC 2020



On 22/07/2020 13:04, Daniel Fuchs wrote:
> Hi Alan,
>
> On 22/07/2020 12:40, Alan Bateman wrote:
>> Would it be simpler to just remove the try/catch? Also in the main 
>> method, put a trace message when it catches BindException so that the 
>> .jtr will record why it retries.
>
> Good points:
>
> http://cr.openjdk.java.net/~dfuchs/webrev_8249812/webrev.01/
Looks good.

-Alan


More information about the net-dev mailing list