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.61 by jsr166, Fri May 13 21:48:59 2011 UTC vs.
Revision 1.62 by jsr166, Sun May 15 17:30:21 2011 UTC

# Line 80 | Line 80 | public class ReentrantReadWriteLockTest
80          long startTime = System.nanoTime();
81          while (!lock.hasQueuedThread(t)) {
82              if (millisElapsedSince(startTime) > LONG_DELAY_MS)
83 <                throw new AssertionError("timed out");
83 >                throw new AssertionFailedError("timed out");
84              Thread.yield();
85          }
86          assertTrue(t.isAlive());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines