JDK-8275640 : (win) java.net.NetworkInterface issues with IPv6-only environments
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2021-10-20
  • Updated: 2022-03-08
  • Resolved: 2022-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 19
19 masterFixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
During the review for JDK-8275319 it was discovered that NetworkInterface.c and NetworkInterface_winXP.c have some issues in the logic that deals with IPv6-only environment (cases where -2 is returned).

This is a followup issues to clean up this code.

See discussions on https://github.com/openjdk/jdk/pull/5956
Comments
Changeset: 2549e550 Author: Daniel JeliƄski <djelinski@openjdk.org> Committer: Daniel Fuchs <dfuchs@openjdk.org> Date: 2022-03-08 16:15:24 +0000 URL: https://git.openjdk.java.net/jdk/commit/2549e5503806447733572643603af9a2bf4b52e5
08-03-2022

This relates to the combined changes introduced by JDK-8046500 and JDK-8225239
20-10-2021