Hi, I created a JDK 8 backport proposal for JDK-8201369: http://cr.openjdk.java.net/~clanger/webrevs/8201369-jdk8.0/ This is the Bug: https://bugs.openjdk.java.net/browse/JDK-8201369 The issue was recently discussed and reviewed here: http://mail.openjdk.java.net/pipermail/net-dev/2018-April/011322.html
Apart from limiting the getaddrinfo/getnameinfo lookup in Java_java_net_Inet4AddressImpl_getLocalHostName to Solaris only, I took over the formatting cleanups to make both Ipv4 and IPv6 versions look similar and resemble the layout in the current jdk depot. Please help reviewing this for JDK 8. Thanks & Best regards Christoph