I have recently inherited a large Java Application that has almost no Thread safety in it. What I\'m currently working on is getting all of the Threads to correctly handle b
Common convention is the following: any method that throws InterruptedException (+ Thread.interrupted()) clears the interrupt flag.
So, in order to make your threads interruptable you need to find all places where InterruptedException gets caught without retrowing it or restoring the interrupt flag. Since InterruptedException is a checked exception it's not hard to do.