[jdk17u-dev] RFR: 8205076: [17u] Inet6AddressImpl.c: `lookupIfLocalHost` accesses `int InetAddress.preferIPv6Address` as a boolean [v2]
Aleksey Shipilev
shade at openjdk.org
Tue Jan 2 18:17:06 UTC 2024
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk17u-dev/pull/2048/files
- new: https://git.openjdk.org/jdk17u-dev/pull/2048/files/fa0cd6b8..841b6fb6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2048&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2048&range=00-01
Stats: 10262 lines in 202 files changed: 5884 ins; 2239 del; 2139 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/2048.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2048/head:pull/2048
PR: https://git.openjdk.org/jdk17u-dev/pull/2048
More information about the jdk-updates-dev
mailing list