[jdk17u-dev] RFR: 8205076: [17u] Inet6AddressImpl.c: `lookupIfLocalHost` accesses `int InetAddress.preferIPv6Address` as a boolean
Aleksey Shipilev
shade at openjdk.org
Tue Dec 12 15:22:45 UTC 2023
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
- [ ] macos-aarch64-server-fastdebug, `jdk_net`
-------------
Commit messages:
- Fix
Changes: https://git.openjdk.org/jdk17u-dev/pull/2048/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2048&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8205076
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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