<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
       please oblige and review the following changes<br>
    <a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~msheppar/8134577/webrev/">http://cr.openjdk.java.net/~msheppar/8134577/webrev/</a><br>
    <br>
    which address the issue raised in<br>
    <a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8134577">https://bugs.openjdk.java.net/browse/JDK-8134577</a><br>
    <br>
    the operative word has been "eliminate".<br>
    As such, the interface and service descriptor
    sun.net.spi.nameservice.NameService  <br>
    sun.net.spi.nameservice.NameServiceDescriptor<font color="red"><b><br>
      </b></font>together with its implementation
    (sun.net.nameservice.dns.DNSNameService)<br>
    has been remove from the JDK libraries.<br>
    <br>
    The immediate impact is seen in the JDK testing framework.<br>
    <br>
    To facilitate testing activity, and provide a replacement for the
    customized NameService implementations in the<br>
    JDK tests,  the default NameService has been extended to support <br>
    the retrieval of host to IP address mappings from a file. <br>
    The file path is specified with a system property "
    jdk.internal.hosts".<br>
    <br>
    Previously a nameservice provider was specified by setting the
    system property<br>
    "sun.net.spi.nameservice.provider.", as per the documentation<br>
<a class="moz-txt-link-freetext" href="http://docs.oracle.com/javase/8/docs/technotes/guides/net/properties.html">http://docs.oracle.com/javase/8/docs/technotes/guides/net/properties.html</a><br>
    <br>
    InetAddress now tests to determine if this property is set and will
    throw a ServiceConfigurationError<br>
    indicating that this functionality is no longer supported. The
    choice of ServideConfigurationError may cause<br>
    some debate, or disagreement. The rationale was that InternalError, 
    is documented to relate to a JVM error,<br>
    and javax.naming.NamingException has a context of DirContext. <br>
    A possible alternative candidate could be
    javax.naming.ServiceUnavailableException.<br>
    As such, the setting of the property
    "sun.net.spi.nameservice.provider." was used, previously, as a
    configuration<br>
    parameter for the loading of a NamerService service provider, and as
    this is now (considered) an error, ServiceConfigurationError, <br>
    seemed a best fit!<br>
    <br>
    These changes impacted a number of jdk security tests, also. The
    affected tetsts have been amended to adopt the<br>
    changes, with the exception of
    test/sun/security/x509/URICertStore/ExtensionsWithLDAP.java
    <br>
    which will require some rewrite.<br>
    <br>
    regards<br>
    Mark<br>
    <br>
  </body>
</html>