ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/LockSupportTest.java
(Generate patch)

Comparing jsr166/src/test/tck/LockSupportTest.java (file contents):
Revision 1.12 by jsr166, Sat Nov 21 02:07:27 2009 UTC vs.
Revision 1.14 by jsr166, Wed Aug 25 00:07:03 2010 UTC

# 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();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines