# | Line 314 | Line 314 | public class LinkedBlockingQueueTest ext | |
---|---|---|
314 | pleaseTake.countDown(); | |
315 | q.put(86); | |
316 | ||
317 | + | Thread.currentThread().interrupt(); |
318 | + | try { |
319 | + | q.put(99); |
320 | + | shouldThrow(); |
321 | + | } catch (InterruptedException success) {} |
322 | + | assertFalse(Thread.interrupted()); |
323 | + | |
324 | pleaseInterrupt.countDown(); | |
325 | try { | |
326 | q.put(99); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |