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.190 by jsr166, Wed Apr 3 20:55:45 2019 UTC vs.
Revision 1.191 by jsr166, Thu Oct 17 01:51:38 2019 UTC

# Line 575 | Line 575 | public class ThreadPoolExecutor extends
575          private static final long serialVersionUID = 6138294804551838833L;
576  
577          /** Thread this worker is running in.  Null if factory fails. */
578 +        @SuppressWarnings("serial") // Unlikely to be serializable
579          final Thread thread;
580          /** Initial task to run.  Possibly null. */
581 +        @SuppressWarnings("serial") // Not statically typed as Serializable
582          Runnable firstTask;
583          /** Per-thread task counter */
584          volatile long completedTasks;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines