Integrated: 8244202: Implementation of JEP 418: Internet-Address Resolution SPI
Aleksei Efimov
aefimov at openjdk.java.net
Thu Nov 11 14:36:45 UTC 2021
On Tue, 5 Oct 2021 12:00:15 GMT, Aleksei Efimov <aefimov at openjdk.org> wrote:
> This change implements a new service provider interface for host name and address resolution, so that java.net.InetAddress API can make use of resolvers other than the platform's built-in resolver.
>
> The following API classes are added to `java.net.spi` package to facilitate this:
> - `InetAddressResolverProvider` - abstract class defining a service, and is, essentially, a factory for `InetAddressResolver` resolvers.
> - `InetAddressResolverProvider.Configuration ` - an interface describing the platform's built-in configuration for resolution operations that could be used to bootstrap a resolver construction, or to implement partial delegation of lookup operations.
> - `InetAddressResolver` - an interface that defines methods for the fundamental forward and reverse lookup operations.
> - `InetAddressResolver.LookupPolicy` - a class whose instances describe the characteristics of one forward lookup operation.
>
> More details in [JEP-418](https://openjdk.java.net/jeps/418).
>
> Testing: new and existing `tier1:tier3` tests
This pull request has now been integrated.
Changeset: 2ca4ff87
Author: Aleksei Efimov <aefimov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/2ca4ff87b7c31d56542bbdcea70e828be33f4e97
Stats: 3141 lines in 56 files changed: 2848 ins; 155 del; 138 mod
8244202: Implementation of JEP 418: Internet-Address Resolution SPI
Co-authored-by: Chris Hegarty <chegar at openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs at openjdk.org>
Co-authored-by: Alan Bateman <alanb at openjdk.org>
Reviewed-by: dfuchs, alanb, michaelm, chegar
-------------
PR: https://git.openjdk.java.net/jdk/pull/5822
More information about the net-dev
mailing list