RFR: 8302845: Replace finalizer usage in JNDI DNS provider with Cleaner [v3]
Aleksei Efimov
aefimov at openjdk.org
Mon May 8 15:15:21 UTC 2023
> 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.
Aleksei Efimov has updated the pull request incrementally with one additional commit since the last revision:
Use cleanable to close the selector in DnsClient::close
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13837/files
- new: https://git.openjdk.org/jdk/pull/13837/files/757d242c..3a139b27
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13837&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13837&range=01-02
Stats: 7 lines in 1 file changed: 2 ins; 3 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/13837.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13837/head:pull/13837
PR: https://git.openjdk.org/jdk/pull/13837
More information about the core-libs-dev
mailing list