Is isSourceFilterSupported still needed on AIX builds?

Langer, Christoph christoph.langer at sap.com
Mon Dec 30 22:48:22 UTC 2019


Hi Alan,

I checked... Although AIX documentation only refers to IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP, as per: https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_71/apis/ssocko.htm we can find this in netinet/in.h in both, AIX 7.1 and AIX 7.2:

#define	IPV6_ADD_MEMBERSHIP	IP_ADD_MEMBERSHIP
#define	IPV6_JOIN_GROUP		IP_ADD_MEMBERSHIP
#define	IPV6_DROP_MEMBERSHIP	IP_DROP_MEMBERSHIP
#define	IPV6_LEAVE_GROUP	IP_DROP_MEMBERSHIP

So, both symbols are defined and to me it seems fine to drop their (conditional) definition from Net.c

Best regards
Christoph

> -----Original Message-----
> From: Alan Bateman <Alan.Bateman at oracle.com>
> Sent: Montag, 30. Dezember 2019 16:59
> To: Lindenmaier, Goetz <goetz.lindenmaier at sap.com>; nio-
> dev at openjdk.java.net; Langer, Christoph <christoph.langer at sap.com>
> Subject: Re: Is isSourceFilterSupported still needed on AIX builds?
> 
> On 30/12/2019 15:42, Lindenmaier, Goetz wrote:
> > Hi Alan,
> >
> > in jdk/jdk, this code can be removed.
> > We only support AIX 7 ++ with jdk/jdk.
> >
> Thanks. Can you also check if IPV6_ADD_MEMBERSHIP and
> IPV6_DROP_MEMBERSHIP are defined? These may be candidates to remove
> from
> Net.c too.
> 
> -Alan


More information about the nio-dev mailing list