Thanks Rob, this looks fine to me.

-Chris.

On 05/05/12 18:47, Rob McKenna wrote:
Hi folks,

A typo in the MacOSX work led to a regression in b11 of 7u4. Specifically:

http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/diff/5cca2f1a37da/src/solaris/native/java/net/Inet6AddressImpl.c


As per the bug report the && in the 2nd #if macro meant that this
condition was ignored and the solaris code was used instead. I.e.
getnameinfo to was used to do the lookup whereas Linux previously used
gethostname with the effect that a call to
InetAddress.getLocalHost().getHostName() now returned the fqdn instead
of the hostname alone.

webrevs for 7 & 8 (identical): http://cr.openjdk.java.net/~robm/7166687/

-Rob

Reply via email to