On 03/02/2022 00:07, Josh Long wrote:
hello,
I'm very interested in JEP 418: Internet-Address Resolution SPI, and I
was wondering: if I plugged in my own implementation via service
loader, would it be possible to obtain a reference to the default
implementation (the one that my implementation replaces) for pass-thru
resolution?
Yes, in the "Service-provider interface" section of the JEP it lists the
new classes, one of which is Configuration that provides a reference to
the built-in resolver.
-Alan.