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

Alan Bateman alanb at openjdk.org
Wed Sep 20 07:19:50 UTC 2023


On Wed, 20 Sep 2023 07:13:17 GMT, Deepa Kumari <duke at openjdk.org> wrote:

>> 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
> 
>  - Added Space
>  - 8308807: [AIX] MulticastSocket and jdp test fails due to joinGroup

I see this PR has been re-based but it has the same changes as before. This PR lacks an authoritative statement on what AIX supports and doesn't supports, I don't think it's possible to make any progress without that.

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

PR Comment: https://git.openjdk.org/jdk/pull/14142#issuecomment-1727108792


More information about the nio-dev mailing list