2 ms·
They should have seen ClosedByInterruptException in the logs and the whole mystery would be resolved much faster.
by vbezhenar 4y ago
They should have seen ClosedByInterruptException in the logs and the whole mystery would be resolved much faster.
- rezonant 4y agoThis is a good point, but presumably the ClosedByInterruptException was expected, aka they called thread.interrupt() on that thread intentionally. It was the side effect on seemingly unrelated threads that is the surprising behavior. EDIT: Looking closer, it's just that they caught IOException instead of the ClosedByInterruptException subclass and expected it to be a non exceptional exception. One would hope they'd log the subclass type in that case and if so then yeah they should've seen that.