changeset 51830:d2c72de3cf83

8199931: java/net/MulticastSocket/UnreferencedMulticastSockets.java fails with "incorrect data received" Reviewed-by: chegar
author xyin
date Fri, 21 Sep 2018 15:49:59 +0800
parents c26fbf1434c4
children ec03768578c2
files test/jdk/java/net/MulticastSocket/UnreferencedMulticastSockets.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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");