[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-nio-dev
Subject: Re: RFR: 8308807: [AIX] MulticastSocket and jdp test fails due to joinGroup
From: Alan Bateman <alanb () openjdk ! org>
Date: 2023-06-21 15:48:09
Message-ID: -6rjVxKJKaCis7qu8jwSTxqsqXtGtrvpd4hY-JA3TZ0=.2a9ba8ab-8c14-48eb-a35d-3b3c150740f9 () github ! com
[Download RAW message or body]
On Wed, 21 Jun 2023 15:18:32 GMT, Daniel Fuchs <dfuchs@openjdk.org> wrote:
> IIRC It has never been possible to create a non-dual `MulticastSocket` / \
> `DatagramSocket` without setting the property `-Djava.net.preferIPv4Stack=true`. \
> The possibility to select a protocol family independently of this property is only \
> available with `DatagramChannel`.
Right now, Net.canIPv6SocketJoinIPv4Group() returns false on AIX so it will never \
attempt to join an IPv4 multicast group when the socket is IPv6. The old \
DatagamSocketImpl didn't have an eager check, which makes me wonder what AIX supports \
and doesn't support, it's not clear.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14142#issuecomment-1601085660
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic