--- jsr166/src/test/tck/SemaphoreTest.java 2009/11/21 17:38:05 1.21 +++ jsr166/src/test/tck/SemaphoreTest.java 2009/12/01 06:03:49 1.22 @@ -618,9 +618,9 @@ public class SemaphoreTest extends JSR16 final Semaphore s = new Semaphore(2, true); Thread t = new Thread(new CheckedRunnable() { public void realRun() throws InterruptedException { - threadAssertTrue(s.tryAcquire(2, SHORT_DELAY_MS, MILLISECONDS)); + assertTrue(s.tryAcquire(2, SHORT_DELAY_MS, MILLISECONDS)); s.release(2); - threadAssertTrue(s.tryAcquire(2, SHORT_DELAY_MS, MILLISECONDS)); + assertTrue(s.tryAcquire(2, SHORT_DELAY_MS, MILLISECONDS)); s.release(2); }});