RFR: 8371748: Remove the (empty) ThreadPoolExecutor.finalize() method

Brent Christian bchristi at openjdk.org
Fri Nov 14 19:38:06 UTC 2025


On Fri, 14 Nov 2025 09:58:25 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> The failures in the GitHub actions job appear related:
> 
> ```
> /home/runner/work/jdk/jdk/test/jdk/java/util/concurrent/tck/ThreadPoolExecutorSubclassTest.java:2011: error: unreported exception Throwable; must be caught or declared to be thrown
>                 super.finalize();
>                               ^
> ```

Indeed.
My understanding is that that is being handled by [JDK-8371682](https://bugs.openjdk.org/browse/JDK-8371682).

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

PR Comment: https://git.openjdk.org/jdk/pull/28311#issuecomment-3534276282


More information about the core-libs-dev mailing list