Integrated: 8272996: JNDI DNS provider fails to resolve SRV entries when IPV6 stack is enabled
Aleksei Efimov
aefimov at openjdk.java.net
Mon Feb 7 12:14:09 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 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
This pull request has now been integrated.
Changeset: 4c169495
Author: Aleksei Efimov <aefimov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4c169495a2c4bfdcbc82e94e9ca1ee0cc050daf9
Stats: 19 lines in 1 file changed: 11 ins; 6 del; 2 mod
8272996: JNDI DNS provider fails to resolve SRV entries when IPV6 stack is enabled
Reviewed-by: dfuchs
-------------
PR: https://git.openjdk.java.net/jdk/pull/7353
More information about the core-libs-dev
mailing list