On Fri, 4 Feb 2022 15:36:35 GMT, Aleksei Efimov <[email protected]> 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

Reply via email to