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

Consider restoring DNS SPI

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P3
    • tbd
    • 9, 10
    • core-libs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: