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

Comparing jsr166/src/test/tck/ReentrantLockTest.java (file contents):
Revision 1.46 by jsr166, Fri May 13 21:48:59 2011 UTC vs.
Revision 1.47 by jsr166, Sun May 15 17:30:21 2011 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines