RFR: 8244202: Implementation of JEP 418: Internet-Address Resolution SPI [v3]
Aleksei Efimov
aefimov at openjdk.java.net
Sun Oct 17 15:58:54 UTC 2021
On Sat, 16 Oct 2021 12:30:44 GMT, Mark Sheppard <msheppar at openjdk.org> wrote:
> So Suggestion is refector remove Configuration to simplify the interface and provide the BULITIN_RESOLVER and hostname as parameters to the InetAddressResolverProvider::get method
During work on this JEP we've examined the approach suggested above, and there are few issues with it:
- `InetAddressResolverProvider.Configuration` interface API might evolve, e.g. there might be a need to pass additional configuration items.
- local hostname is a dynamic information, therefore it cannot be passed as string parameter to `InetAddressResolverProvider::get`.
It's been also discussed in the CSR comments [here](https://bugs.openjdk.java.net/browse/JDK-8274558)
-------------
PR: https://git.openjdk.java.net/jdk/pull/5822
More information about the core-libs-dev
mailing list