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

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

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

revision 1.29, Sat Nov 21 02:07:26 2009 UTC revision 1.30, 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 475  Line 476 
476          final Mutex sync = new Mutex();          final Mutex sync = new Mutex();
477          final AbstractQueuedSynchronizer.ConditionObject c = sync.newCondition();          final AbstractQueuedSynchronizer.ConditionObject c = sync.newCondition();
478          sync.acquire(1);          sync.acquire(1);
479          assertFalse(c.await(SHORT_DELAY_MS, TimeUnit.MILLISECONDS));          assertFalse(c.await(SHORT_DELAY_MS, MILLISECONDS));
480          sync.release(1);          sync.release(1);
481      }      }
482    

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8