RFR: 8275640 (win) java.net.NetworkInterface issues with IPv6-only environments [v2]

Daniel Jeliński duke at openjdk.java.net
Thu Oct 28 11:18:14 UTC 2021


On Thu, 28 Oct 2021 07:20:38 GMT, Daniel Jeliński <duke at openjdk.java.net> wrote:

>> Clean up of various issues related to error handling and memory management
>
> Daniel Jeliński has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Restore support for IPv6-only operation

Just to clarify, no tests were run. The failure was reported by JTReg itself. As of now building Java on Windows requires IPv4.

On a side note, Microsoft created a completely new set of network interface-related APIs in Windows Vista. It looks like they could simplify our getByXXX methods, and possibly we could also use the same method to extract both IPv4 and IPv6 addresses. Do you think we could replace the pre-Vista code and start using the new functions?

-------------

PR: https://git.openjdk.java.net/jdk/pull/6090


More information about the net-dev mailing list