RFR: 8285671: java/nio/channels/etc/PrintSupportedOptions.java and java/nio/channels/DatagramChannel/AfterDisconnect.java are failing

Michael McMahon michaelm at openjdk.java.net
Wed Apr 27 11:06:39 UTC 2022


On Wed, 27 Apr 2022 09:43:52 GMT, Michael McMahon <michaelm at openjdk.org> wrote:

> Hi,
> 
> Can I get the following fix reviewed please? JDK-8284890 was pushed yesterday and is causing failures on older versions of macOS that do not support the option. The fix here is to check at initialization time whether it is supported before adding it to the list of supported options. The error causes the new test and two existing ones to fail. I will remove the two tests from the problem list separately.
> 
> Thanks,
> Michael.

Just spotted an issue with the native code check, if IPv6 is disabled, it will fail. The implementation should be able to work in that scenario.

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

PR: https://git.openjdk.java.net/jdk/pull/8419


More information about the net-dev mailing list