On Mon, 17 Nov 2025 06:38:21 GMT, ExE Boss <[email protected]> wrote:

> `super.finalize()` will now have `throws Throwable`, where it previously 
> didn’t, causing a source incompatibility, as seen in 
> `ThreadPoolExecutorSubclassTest`:

Indeed, there is a source compatibility issue here. @bchristi-git Have you did 
corpus searches to see if there are many cases that extend TPE and invoke 
super.finalize? I wouldn't any in code written in recent years but maybe there 
is still older code that would need updating. The overall risk here is low 
though and the migration would be to just drop the super.finalize() as it 
doesn't do anything since JDK 11.

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

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

Reply via email to