# | Line 626 | Line 626 | public class LinkedBlockingDequeTest ext | |
---|---|---|
626 | pleaseTake.countDown(); | |
627 | q.put(86); | |
628 | ||
629 | + | Thread.currentThread().interrupt(); |
630 | + | try { |
631 | + | q.put(99); |
632 | + | shouldThrow(); |
633 | + | } catch (InterruptedException success) {} |
634 | + | assertFalse(Thread.interrupted()); |
635 | + | |
636 | pleaseInterrupt.countDown(); | |
637 | try { | |
638 | q.put(99); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |