[jdk17u-dev] RFR: 8205076: [17u] Inet6AddressImpl.c: `lookupIfLocalHost` accesses `int InetAddress.preferIPv6Address` as a boolean

Paul Hohensee phh at openjdk.org
Tue Dec 12 16:36:32 UTC 2023


On Tue, 12 Dec 2023 15:17:37 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> This is a 11u and 17u -specific bug, see JBS and its comments for more details. I think we can fix this by explicitly checking against the `PREFER_IPV6_VALUE`, like post JDK 18 code does.
> 
> Additional testing:
>  - [x] macos-aarch64-server-fastdebug, `DcmdMBeanTestCheckJni.java` now passes
>  - [x]  macos-aarch64-server-fastdebug, `jdk_net`

Marked as reviewed by phh (Reviewer).

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

PR Review: https://git.openjdk.org/jdk17u-dev/pull/2048#pullrequestreview-1777964314


More information about the jdk-updates-dev mailing list