[jdk11u-dev] Integrated: 8205076: [17u] Inet6AddressImpl.c: `lookupIfLocalHost` accesses `int InetAddress.preferIPv6Address` as a boolean
Aleksey Shipilev
shade at openjdk.org
Mon Jun 17 09:01:22 UTC 2024
On Thu, 13 Jun 2024 14:07:50 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.
>
> It is a bit weird to backport the issue with `[17u]` in title, but I think it is the cleanest way to make sure we backport the same fix 17u already ships with.
>
> Additional testing:
> - [x] macos-aarch64-server-fastdebug, `DcmdMBeanTestCheckJni.java` now passes
> - [x] macos-aarch64-server-fastdebug, `jdk_net`
This pull request has now been integrated.
Changeset: 667bbd3f
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/667bbd3f53481a72c345c05467db183e00702d81
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8205076: [17u] Inet6AddressImpl.c: `lookupIfLocalHost` accesses `int InetAddress.preferIPv6Address` as a boolean
Backport-of: 3eb15b02b5efeb065ada8c6ae2bc8718e7892deb
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/2769
More information about the jdk-updates-dev
mailing list