8199931: java/net/MulticastSocket/UnreferencedMulticastSockets.java fails with "incorrect data received"
authorxyin
Fri, 21 Sep 2018 15:49:59 +0800
changeset 51830 d2c72de3cf83
parent 51829 c26fbf1434c4
child 51831 ec03768578c2
8199931: java/net/MulticastSocket/UnreferencedMulticastSockets.java fails with "incorrect data received" Reviewed-by: chegar
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");