RFR: JDK-8134577 - Eliminate or standardize a replacement for sun.net.spi.nameservice.NameServiceDescriptor

David M. Lloyd david.lloyd at redhat.com
Tue Oct 27 14:51:05 UTC 2015


> Hi,
>     please oblige and review the following changes
> http://cr.openjdk.java.net/~msheppar/8134577/webrev/
>
> which address the issue raised in
> https://bugs.openjdk.java.net/browse/JDK-8134577
>
> the operative word has been "eliminate".
> As such, the interface and service descriptor
> sun.net.spi.nameservice.NameService
> sun.net.spi.nameservice.NameServiceDescriptor*
> *together with its implementation (sun.net.nameservice.dns.DNSNameService)
> has been remove from the JDK libraries.

This is unfortunate.  There's really no other way to hook into name 
resolution.  What's wrong with putting this stuff in a com.sun or 
org.openjdk module?

Having modules doesn't *really* require that everything non-standard be 
hidden or killed off, just that it be separated from the standard 
modules in a way that makes some kind of sense.

-- 
- DML


More information about the net-dev mailing list