RFR: 7166687: InetAddress.getLocalHost().getHostName() returns FQDN

2012-05-05 Thread Rob McKenna
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

Re: RFR: 7166687: InetAddress.getLocalHost().getHostName() returns FQDN

2012-05-05 Thread Chris Hegarty
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