RFR: 8275640 (win) java.net.NetworkInterface issues with IPv6-only environments [v3]
Mark Sheppard
msheppar at openjdk.java.net
Sat Jan 8 18:20:29 UTC 2022
On Sat, 8 Jan 2022 09:11:05 GMT, Daniel Jelinski <duke at openjdk.java.net> wrote:
>> Clean up of various issues related to error handling and memory management
>
> Daniel Jelinski has updated the pull request incrementally with one additional commit since the last revision:
>
> Address problems reported by clang-tidy
src/java.base/windows/native/libnet/NetworkInterface_winXP.c line 256:
> 254:
> 255: ret = enumInterfaces(env, netifPP);
> 256: if (ret == -1) {
this change is questionable: enumInterfaces returns -2 to allows processing to continue with IPv6 data ... this change will prohibit that policy
-------------
PR: https://git.openjdk.java.net/jdk/pull/6090
More information about the net-dev
mailing list