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

Comparing jsr166/src/test/tck/AtomicIntegerFieldUpdaterTest.java (file contents):
Revision 1.19 by jsr166, Tue Mar 15 19:47:06 2011 UTC vs.
Revision 1.21 by jsr166, Tue May 31 16:16:23 2011 UTC

# Line 6 | Line 6
6   * Pat Fisher, Mike Judd.
7   */
8  
9 import java.util.concurrent.atomic.*;
9   import junit.framework.*;
10 < import java.util.*;
10 > import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
11  
12   public class AtomicIntegerFieldUpdaterTest extends JSR166TestCase {
13      volatile int x = 0;
# Line 113 | Line 112 | public class AtomicIntegerFieldUpdaterTe
112          assertEquals(7,a.get(this));
113      }
114  
116
115      /**
116       * compareAndSet in one thread enables another waiting for value
117       * to succeed

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines