On 21/08/2014 17:02, Mark Sheppard wrote:
Hi
  please oblige and review the small change
http://cr.openjdk.java.net/~msheppar/8044306/webrev/

to address the issue raised in
https://bugs.openjdk.java.net/browse/JDK-8044306

hints.ai_family is assigned AF_INET rather than AF_UNSPEC
as the native function
Java_java_net_Inet4AddressImpl_getLocalHostName
is part of an IPv4 call flow, such that AF_UNSPEC allows
an IPv6 data to be retrieved as highlighted in bug report
This looks okay to me, clearly a corner case for this to happen.

-Alan

Reply via email to