# | Line 56 | Line 56 | public class ReentrantLockTest extends J | |
---|---|---|
56 | public Collection<Thread> getWaitingThreads(Condition c) { | |
57 | return super.getWaitingThreads(c); | |
58 | } | |
59 | – | |
60 | – | |
59 | } | |
60 | ||
61 | /** | |
# | Line 776 | Line 774 | public class ReentrantLockTest extends J | |
774 | Thread t = new Thread(new CheckedInterruptedRunnable() { | |
775 | public void realRun() throws InterruptedException { | |
776 | lock.lock(); | |
777 | < | c.awaitNanos(LONG_DELAY_MS * 1000L * 1000L); |
777 | > | c.awaitNanos(MILLISECONDS.toNanos(LONG_DELAY_MS)); |
778 | }}); | |
779 | ||
780 | t.start(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |