[cvs] / jsr166 / src / test / tck / AbstractQueuedLongSynchronizerTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/AbstractQueuedLongSynchronizerTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11, Sat Nov 21 02:07:26 2009 UTC revision 1.12, Sat Nov 21 02:33:20 2009 UTC
# Line 10  Line 10 
10  import junit.framework.*;  import junit.framework.*;
11  import java.util.*;  import java.util.*;
12  import java.util.concurrent.*;  import java.util.concurrent.*;
13    import static java.util.concurrent.TimeUnit.MILLISECONDS;
14  import java.util.concurrent.locks.*;  import java.util.concurrent.locks.*;
15  import java.io.*;  import java.io.*;
16    
# Line 477  Line 478 
478          final Mutex sync = new Mutex();          final Mutex sync = new Mutex();
479          final AbstractQueuedLongSynchronizer.ConditionObject c = sync.newCondition();          final AbstractQueuedLongSynchronizer.ConditionObject c = sync.newCondition();
480          sync.acquire(1);          sync.acquire(1);
481          assertFalse(c.await(SHORT_DELAY_MS, TimeUnit.MILLISECONDS));          assertFalse(c.await(SHORT_DELAY_MS, MILLISECONDS));
482          sync.release(1);          sync.release(1);
483      }      }
484    

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8