# | Line 899 | Line 899 | public class ReentrantReadWriteLockTest | |
---|---|---|
899 | Thread t = new Thread(new CheckedInterruptedRunnable() { | |
900 | public void realRun() throws InterruptedException { | |
901 | lock.writeLock().lock(); | |
902 | < | c.awaitNanos(LONG_DELAY_MS * 1000L * 1000L); |
902 | > | c.awaitNanos(MILLISECONDS.toNanos(LONG_DELAY_MS)); |
903 | lock.writeLock().unlock(); | |
904 | }}); | |
905 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |