Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8201369

Inet4AddressImpl_getLocalHostName reverse lookup on Solaris only

XMLWordPrintable

    • b11
    • Not verified

        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

              clanger Christoph Langer
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: