Preserve thread interruption status rule

High
InterruptedException is ignored. This can delay thread shutdown and clear the thread’s interrupt status. Only code that implements a thread’s interruption policy can swallow an interruption request.
Detector ID
java/preserve-thread-interruption-status-rule@v1.0
Category
Code Quality
Tags
  • concurrency
Common Weakness Enumeration (CWE)