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

Consider restoring DNS SPI

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9, 10
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      In this change

      changeset: 14108:d11ad4b19348
      user: msheppar
      date: 2016-04-11 03:00 +0100
      8134577: Eliminate or standardize a replacement for sun.net.spi.nameservice.NameServiceDescriptor
      Reviewed-by: chegar, alanb

      an internal API was removed. This causes hardships for us at Google. We eventually decided to restore the functionality locally in our jdk9, roughly as in this patch:

      http://cr.openjdk.java.net/~martin/webrevs/openjdk9/restore-dns-spi/

      This API was a natural thing to use as a general purpose DNS proxy mechanism. Should we instead be creating a "real" DNS server outside the JDK?

      The jdk.net.hosts.file replacement seems inadequate - a general proxy cannot be replaced by a simple file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chegar Chris Hegarty
              Reporter:
              martin Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated: