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

Eliminate or standardize a replacement for sun.net.spi.nameservice.NameServiceDescriptor

    Details

    • Subcomponent:
    • Resolved In Build:
      b114
    • Verification:
      Verified

      Description

      InetAddress has a JDK-internal service provider interface (the service type is sun.net.spi.nameservice.NameServiceDescriptor).

      This issue requests that this service provider interface be re-examined with a view to either removing sun.net.spi.nameservice.NameServiceDescriptor or else replacing it with a standard SPI. The motive for this request is modules where we need to avoid Java SE modules depending on non-standard service interfaces.

      One suggestion is to remove the current mechanism and replace it with a way to configure InetAddress to use a local hosts file. That should be good enough for almost all of the test usages.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                msheppar Mark Sheppard (Inactive)
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: