RFR: 8272996: JNDI DNS provider fails to resolve SRV entries when IPV6 stack is enabled
Daniel Fuchs
dfuchs at openjdk.java.net
Fri Feb 4 15:48:08 UTC 2022
On Fri, 4 Feb 2022 15:36:35 GMT, Aleksei Efimov <aefimov at openjdk.org> wrote:
> Hi,
>
> JNDI's `DnsClient` can fail with `UncheckedIOException` during `connect` or `disconnect` method calls. It is a [know behavior](https://bugs.openjdk.java.net/browse/JDK-8236076) of `DatagramSocket`.
>
> Currently, `DnsClient` method is fast-fails when `UncheckedIOException` is observed during connect attempt. But it supposed to mark such server as invalid and continue checking other servers.
>
> Testing: tier1, tier2, tier3 and existing JCK tests show no failures relevant to the proposed changed
LGTM - and a good cleanup to boot!
-------------
Marked as reviewed by dfuchs (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/7353
More information about the core-libs-dev
mailing list