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

Inet4AddressImpl_getLocalHostName reverse lookup on Solaris only

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u144, 9, 10, 11
    • Fix Version/s: 11
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b11
    • Verification:
      Not verified

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: