Skip to content

Commit 069b4cc

Browse files
committedAug 27, 2021
8199931: java/net/MulticastSocket/UnreferencedMulticastSockets.java fails with "incorrect data received"
Backport-of: f367eb8
1 parent 45ed9e8 commit 069b4cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎test/jdk/java/net/MulticastSocket/UnreferencedMulticastSockets.java

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public static void main(String args[]) throws Exception {
120120
thr.start();
121121

122122
MulticastSocket client = new MulticastSocket(0);
123+
System.out.printf(" client bound port: %d%n", client.getLocalPort());
123124
client.connect(svr.getHost(), svr.getPort());
124125
pendingSockets.add(new NamedWeak(client, pendingQueue, "clientMulticastSocket"));
125126
extractRefs(client, "clientMulticastSocket");

0 commit comments

Comments
 (0)