# | Line 13 | Line 13 | import java.util.concurrent.locks.*; | |
---|---|---|
13 | ||
14 | public class LockSupportTest extends JSR166TestCase { | |
15 | public static void main(String[] args) { | |
16 | < | junit.textui.TestRunner.run (suite()); |
16 | > | junit.textui.TestRunner.run(suite()); |
17 | } | |
18 | public static Test suite() { | |
19 | return new TestSuite(LockSupportTest.class); | |
# | Line 77 | Line 77 | public class LockSupportTest extends JSR | |
77 | }}); | |
78 | ||
79 | t.start(); | |
80 | + | Thread.sleep(SHORT_DELAY_MS); |
81 | t.interrupt(); | |
82 | lock.unlock(); | |
83 | t.join(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |