On Fri, 14 Nov 2025 19:39:47 GMT, Brent Christian <[email protected]> wrote:
>> From the bug report: >> Prior to JDK 11, ThreadPoolExecutor.finalize() was specified to >> "[invoke] shutdown() when this executor is no longer referenced and it has >> no threads." >> >> In JDK 11, ThreadPoolExecutor.finalize() was re-specified to do nothing, >> leaving the finalize() method empty. >> ([JDK-8190324](https://bugs.openjdk.org/browse/JDK-8190324)). >> >> In JDK 18, finalize() was deprecated for removal >> ([JDK-8276447](https://bugs.openjdk.org/browse/JDK-8276447)), after first >> being "standard" deprecated in JDK 9 >> ([JDK-8165641](https://bugs.openjdk.org/browse/JDK-8165641)). >> >> The finalize() method can safely be removed from ThreadPoolExecutor. > > Thank you, reviewers. :) > Can I also get a review on the > [CSR](https://bugs.openjdk.org/browse/JDK-8371856)? TIA. @bchristi-git I have integrated https://github.com/openjdk/jdk/pull/28278, I think you should merge the master to fix the GHA test failures. ------------- PR Comment: https://git.openjdk.org/jdk/pull/28311#issuecomment-3541925754
