RFR: 8308807: MulticastSocket cannot join IPv4 multicast group when IPv6 is enabled (aix) [v2]

Deepa Kumari duke at openjdk.org
Wed Sep 20 07:13:17 UTC 2023


> DatagramSocket delegates to an inner DatagramSocket object. Irrespective of whether datagramSocket is IPv4 or IPv6, we create an IPv6 datagramChannel as its's delegate. So, This can cause problems with operations like joinGroup. 
> 
> On AIX, IPv6 datagramSocket can not join an IPv4 multicast group.
> 
> These failures can be fixed by making sure that the delegate created for a datagram socket has the same protocol family. 
> 
> 
> 
> 
> Reported Issue : [JDK-8308807](https://bugs.openjdk.org/browse/JDK-8308807)

Deepa Kumari has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:

 - Added Space
 - 8308807: [AIX] MulticastSocket and jdp test fails due to joinGroup

-------------

Changes: https://git.openjdk.org/jdk/pull/14142/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14142&range=01
  Stats: 12 lines in 2 files changed: 11 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/14142.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14142/head:pull/14142

PR: https://git.openjdk.org/jdk/pull/14142


More information about the nio-dev mailing list