ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ThreadPoolExecutor.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ThreadPoolExecutor.java (file contents):
Revision 1.188 by jsr166, Tue Jan 30 04:48:39 2018 UTC vs.
Revision 1.189 by jsr166, Fri Feb 9 00:03:28 2018 UTC

# Line 1435 | Line 1435 | public class ThreadPoolExecutor extends
1435      // Before JDK 11, finalize() had a non-empty method body.
1436  
1437      /**
1438 <     * @deprecated The {@code finalize} method has been deprecated.
1439 <     *     Subclasses that override {@code finalize} in order to perform cleanup
1440 <     *     should be modified to use alternative cleanup mechanisms and
1441 <     *     to remove the overriding {@code finalize} method.
1442 <     *     When overriding the {@code finalize} method, its implementation must explicitly
1443 <     *     ensure that {@code super.finalize()} is invoked as described in {@link Object#finalize}.
1444 <     *     See the specification for {@link Object#finalize()} for further
1445 <     *     information about migration options.
1438 >     * @implNote Previous versions of this class had a finalize method
1439 >     * that shut down this executor, but in this version, finalize
1440 >     * does nothing.
1441       */
1442      @Deprecated(since="9")
1443      protected void finalize() {}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines