Skip to content
Permalink
Browse files
8199931: java/net/MulticastSocket/UnreferencedMulticastSockets.java f…
…ails with "incorrect data received"

Backport-of: f367eb8
  • Loading branch information
RealCLanger committed Aug 27, 2021
1 parent 45ed9e8 commit 069b4cc08c327a5e977a2700e133f0d05261dd24
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/jdk/java/net/MulticastSocket/UnreferencedMulticastSockets.java
@@ -120,6 +120,7 @@ public static void main(String args[]) throws Exception {
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");

1 comment on commit 069b4cc

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 069b4cc Aug 27, 2021

Please sign in to comment.