# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |