O'Reilly logo
  • Peng Zhang thinks this is interesting:

A task should not assume anything about the interruption policy of its executing thread unless it is explicitly designed to run within a service that has a specific interruption policy. Whether a task interprets interruption as cancellation or takes some other action on interruption, it should take care to preserve the executing thread's interruption status. If it is not simply going to propagate InterruptedException


Cover of Java Concurrency in Practice


Talking about the attitude of task code toward cancellation