RFR: 8241800: Disable IPV6_MULTICAST_ALL to prevent interference from all multicast groups [v7]

Alan Bateman alanb at openjdk.org
Mon Jun 19 16:02:04 UTC 2023


On Mon, 19 Jun 2023 15:50:58 GMT, Michael McMahon <michaelm at openjdk.org> wrote:

>> test/jdk/java/nio/channels/DatagramChannel/PromiscuousIPv6.java line 213:
>> 
>>> 211:             int major = Platform.getOsVersionMajor();
>>> 212:             int minor = Platform.getOsVersionMinor();
>>> 213:             hasIPV6MulticastAll = Platform.isOSX() || (major > 4) || ((major == 4 && minor >= 20));
>> 
>> The version check should be Linux only.
>
> It runs the additional tests if it is MacOSX or if Linux and kernel > 4.20.

It looks like it's good the version check on AIX too. I think you'll need to include a check for isLinux to avoid a follow-up bug from the maintainers of that port.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14491#discussion_r1234236935


More information about the nio-dev mailing list