[jdk17u-dev] RFR: 8205076: [17u] Inet6AddressImpl.c: `lookupIfLocalHost` accesses `int InetAddress.preferIPv6Address` as a boolean [v2]
Aleksey Shipilev
shade at openjdk.org
Wed Jan 3 10:52:54 UTC 2024
On Tue, 2 Jan 2024 18:17:06 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`
>
> Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>
> - Merge branch 'master' into JDK-8205076-macosx-ipv6-check-jni
> - Fix
Thanks!
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2048#issuecomment-1875172408
More information about the jdk-updates-dev
mailing list