JDK-8026806 : Incomplete test of getaddrinfo() return value could lead to incorrect exception for Windows Inet 6
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-10-17
  • Updated: 2013-11-07
  • Resolved: 2013-10-22
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 8
8 b115Fixed
Related Reports
Relates :  
Description
The return value 'error' should be tested for non-zero before the test at line 134 of Inet6AddressImpl.c is performed:

132    error = getaddrinfo(hostname, NULL, &hints, &res);
133
134    if (WSAGetLastError() == WSATRY_AGAIN) {