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

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

XMLWordPrintable

    • b114
    • Verified

      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.

            msheppar Mark Sheppard
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: