Integrated: 8283772: Make sun.net.dns.ResolverConfiguration sealed

Aleksei Efimov aefimov at openjdk.java.net
Tue Mar 29 17:09:49 UTC 2022


On Mon, 28 Mar 2022 21:44:36 GMT, Aleksei Efimov <aefimov at openjdk.org> wrote:

> The following fix seals `sun.net.dns.ResolverConfiguration` abstract class.
> `sun.net.dns.ResolverConfigurationImpl` is the only permitted subclass which has two O/S specific implementations: for `Windows` and `Unix` architectures. Both of them are marked as `final`.
> 
> Testing: `jdk-tier1`, `jdk-tier2`, `jdk-tier3` and `java.naming` JCK tests show no failures with the change.

This pull request has now been integrated.

Changeset: 95913067
Author:    Aleksei Efimov <aefimov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/9591306760ffa0725977db8d3bb66758baeafbf6
Stats:     6 lines in 3 files changed: 0 ins; 0 del; 6 mod

8283772: Make sun.net.dns.ResolverConfiguration sealed

Reviewed-by: jpai, dfuchs

-------------

PR: https://git.openjdk.java.net/jdk/pull/8006


More information about the net-dev mailing list