Hi folks,

Mac seems to have trouble looking up local hostnames using getaddrinfo unless a domain is set. The solution is to add a check with getifaddrs .

This fix replaces a usage of _ALLBSD_SOURCE with MACOSX. I haven't seen a canonical answer on whether this is the way to go so I figured trial by fire might get the discussion going.

http://cr.openjdk.java.net/~robm/7180557/webrev.01/

    -Rob

Reply via email to