# | Line 461 | Line 461 | public class AbstractQueuedSynchronizerT | |
---|---|---|
461 | Thread t = new Thread(new InterruptedSyncRunnable(sync)); | |
462 | try { | |
463 | t.start(); | |
464 | + | Thread.sleep(SHORT_DELAY_MS); |
465 | t.interrupt(); | |
466 | + | Thread.sleep(SHORT_DELAY_MS); |
467 | sync.release(1); | |
468 | t.join(); | |
469 | } catch(Exception e){ | |
# | Line 950 | Line 952 | public class AbstractQueuedSynchronizerT | |
952 | sync.acquire(1); | |
953 | c.signal(); | |
954 | sync.release(1); | |
953 | – | assert(t.isInterrupted()); |
955 | t.join(SHORT_DELAY_MS); | |
956 | assertFalse(t.isAlive()); | |
957 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |