RFR: JDK-8025211 - Intermittent test failure: java/net/DatagramSocket/PortUnreachable.java

Alan Bateman Alan.Bateman at oracle.com
Fri Nov 29 16:19:21 UTC 2013


On 29/11/2013 14:21, Mark Sheppard wrote:
> Hi
> please oblige and review the following changes
>
> http://cr.openjdk.java.net/~msheppar/8025211/webrev/
> which address the issue raised in the bug
> https://bugs.openjdk.java.net/browse/JDK-8025211
>
> an intermittent failure occurs on some windows test machines.
>
> this replaces a Thread.sleep(5000) with explicit synchronization 
> between sender
> and receiver via a CountDownLatch
(cc'ing net-dev)

Would an alternative here be to just get rid of the server thread (do 
both the send + receive on the main thread)?

-Alan



More information about the core-libs-dev mailing list