-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b150
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8344584 | 8u451 | Weibing Xiao | P4 | Resolved | Fixed | b01 |
Inet4AddressImpl still uses the APIs gethostbyname and gethostbyaddr whereas the Unix Inet4AddressImpl and the Inet6AddressImpl variants on both Unix and Windows already use the more modern APIs getaddrinfo/getnameinfo.
As per the Microsoft documentation, gethostbyname and gethostbyaddr are considered deprecated (cf. https://msdn.microsoft.com/en-us/library/windows/desktop/ms738524(v=vs.85).aspx )
As per the Microsoft documentation, gethostbyname and gethostbyaddr are considered deprecated (cf. https://msdn.microsoft.com/en-us/library/windows/desktop/ms738524(v=vs.85).aspx )
- backported by
-
JDK-8344584 Use getaddrinfo/getnameinfo in Windows Inet4AddresImpl native code
-
- Resolved
-