mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8199931: java/net/MulticastSocket/UnreferencedMulticastSockets.java fails with "incorrect data received"
Reviewed-by: chegar
This commit is contained in:
parent
89a4157528
commit
f367eb8965
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ public class UnreferencedMulticastSockets {
|
|||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue