JDK 18 |
---|
18Resolved |
Introduce a service-provider interface (SPI) for host name and address resolution, so that java.net.InetAddress can make use of resolvers other than the platform's built-in resolver. This new SPI allows replacing the operating system's native resolver, which is typically configured to use a combination of a local hosts file and the Domain Name System (DNS). For further details, see [JEP 418](https://openjdk.java.net/jeps/418).