Relates :
|
|
Relates :
|
JDK-8034182 ( and backported through JDK-8169865 ) removed the additional reverse lookup ( to get the host name ) for non-Solaris Unix platforms. There is no specific reason why the same change was not applied to the IPv4 variant of the same method, Java_java_net_Inet4AddressImpl_getLocalHostName. This issue proposes remove the inconsistency between the IPv4 and IPv6 lookup code by updating the IPv4 code to only perform the additional reverse lookup for Solaris. This issue has been submitted as a result of the following exchange on net-dev: http://mail.openjdk.java.net/pipermail/net-dev/2018-April/011322.html