Is isSourceFilterSupported still needed on AIX builds?

Alan Bateman Alan.Bateman at
Mon Jan 6 11:22:26 UTC 2020

On 30/12/2019 22:48, Langer, Christoph wrote:
> Hi Alan,
> I checked... Although AIX documentation only refers to IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP, as per: we can find this in netinet/in.h in both, AIX 7.1 and AIX 7.2:
> So, both symbols are defined and to me it seems fine to drop their (conditional) definition from Net.c
Thanks for checking. Would you have time to check one more thing? As 
part of JDK-8236410 I want to improve the underlying 
join/drop/block/unblock so that we use the protocol independent 
MCAST_XXXX socket options where possible. I have an initial patch [1] 
that should be good enough to try if you have time. My guess is that 
USE_MCAST_XXXX should be defined on AIX. Also I suspect 
Net.canJoin6WithV4Group should return true. It has historically returned 
false on AIX which means that a DatagramChannel to an IPv6 socket cannot 
join IPv4 multicast groups. The spec allows tolerates this but it will 
become an issue in the future once legacy MulticastSocket is switched to 
use a DatagramChannel.



More information about the nio-dev mailing list