Behavior change in java.util.concurrent.ThreadPoolExecutor.finalize() method

The method java.util.concurrent.ThreadPoolExecutor.finalize() previously shut down the thread pool. In Java 11 the finalize method does nothing.

For more information on Java SE 11 changes, see Removed APIs in JDK 11.