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

Michael McMahon michaelm at openjdk.org
Mon Jun 19 16:02:03 UTC 2023


On Mon, 19 Jun 2023 15:37:13 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   whitespace
>
> 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.

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

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


More information about the nio-dev mailing list