-
Enhancement
-
Resolution: Fixed
-
P2
-
9
-
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.
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.
- relates to
-
JDK-8157667 sun/security/x509/URICertStore/ExtensionsWithLDAP.java has to be updated due to JDK-8134577
-
- Resolved
-
-
JDK-8043296 De-privilege DNS name service provider
-
- Closed
-
-
JDK-8192780 Consider restoring DNS SPI
-
- Closed
-