# | Line 133 | Line 133 | public class ExchangerTest extends JSR16 | |
---|---|---|
133 | public void realRun() throws InterruptedException { | |
134 | assertSame(one, e.exchange(two)); | |
135 | exchanged.countDown(); | |
136 | < | interrupted.await(); |
136 | > | await(interrupted); |
137 | assertSame(three, e.exchange(one)); | |
138 | }}); | |
139 | Thread t3 = newStartedThread(new CheckedRunnable() { | |
140 | public void realRun() throws InterruptedException { | |
141 | < | interrupted.await(); |
141 | > | await(interrupted); |
142 | assertSame(one, e.exchange(three)); | |
143 | }}); | |
144 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |