On Fri, 5 May 2023 17:25:38 GMT, Aleksei Efimov <aefi...@openjdk.org> wrote:
> JNDI `DnsClient` has a finalize method to close its internal datagram channel > selector. > The change proposed here replaces it with a cleaner to close the selector > once the `DnsClient` > instance becomes phantom reachable. > > The change was tested with `jdk-tier1` to `jdk-tier3` test sets which showed > no failures. This pull request has now been integrated. Changeset: da2c9302 Author: Aleksei Efimov <aefi...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/da2c9302628886bbdb4cf588f8275c4a44ff5ac9 Stats: 31 lines in 3 files changed: 14 ins; 13 del; 4 mod 8302845: Replace finalizer usage in JNDI DNS provider with Cleaner Reviewed-by: alanb, dfuchs, djelinski ------------- PR: https://git.openjdk.org/jdk/pull/13837