# HG changeset patch # User xyin # Date 1537516199 -28800 # Node ID d2c72de3cf836aa7a358893dfc27d957b516cc10 # Parent c26fbf1434c4d0dc0041cdbea3671e899a182437 8199931: java/net/MulticastSocket/UnreferencedMulticastSockets.java fails with "incorrect data received" Reviewed-by: chegar diff -r c26fbf1434c4 -r d2c72de3cf83 test/jdk/java/net/MulticastSocket/UnreferencedMulticastSockets.java --- a/test/jdk/java/net/MulticastSocket/UnreferencedMulticastSockets.java Thu Sep 20 14:19:53 2018 -0700 +++ b/test/jdk/java/net/MulticastSocket/UnreferencedMulticastSockets.java Fri Sep 21 15:49:59 2018 +0800 @@ -120,6 +120,7 @@ thr.start(); MulticastSocket client = new MulticastSocket(0); + System.out.printf(" client bound port: %d%n", client.getLocalPort()); client.connect(svr.getHost(), svr.getPort()); pendingSockets.add(new NamedWeak(client, pendingQueue, "clientMulticastSocket")); extractRefs(client, "clientMulticastSocket");