# | Line 595 | Line 595 | public class SemaphoreTest extends JSR16 | |
---|---|---|
595 | s.acquire(3); | |
596 | }}); | |
597 | ||
598 | < | waitForQueuedThreads(s); |
598 | > | waitForQueuedThread(s, t1); |
599 | ||
600 | Thread t2 = newStartedThread(new CheckedRunnable() { | |
601 | public void realRun() throws InterruptedException { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |