ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ReentrantReadWriteLockTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ReentrantReadWriteLockTest.java (file contents):
Revision 1.39 by jsr166, Mon Nov 30 08:31:09 2009 UTC vs.
Revision 1.40 by jsr166, Tue Dec 1 06:03:49 2009 UTC

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines