--- a/test/jdk/java/util/concurrent/tck/AbstractQueuedSynchronizerTest.java Sat Feb 10 09:17:53 2018 -0800
+++ b/test/jdk/java/util/concurrent/tck/AbstractQueuedSynchronizerTest.java Sat Feb 10 09:23:41 2018 -0800
@@ -44,7 +44,6 @@
import java.util.concurrent.locks.AbstractQueuedSynchronizer;
import java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject;
-import junit.framework.AssertionFailedError;
import junit.framework.Test;
import junit.framework.TestSuite;
@@ -172,7 +171,7 @@
long startTime = System.nanoTime();
while (!sync.isQueued(t)) {
if (millisElapsedSince(startTime) > LONG_DELAY_MS)
- throw new AssertionFailedError("timed out");
+ throw new AssertionError("timed out");
Thread.yield();
}
assertTrue(t.isAlive());