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

Comparing jsr166/src/test/tck/AtomicLongFieldUpdaterTest.java (file contents):
Revision 1.18 by jsr166, Sat Oct 9 19:30:34 2010 UTC vs.
Revision 1.20 by jsr166, Fri May 27 19:39:07 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   * Other contributors include Andrew Wright, Jeffrey Hayes,
6   * Pat Fisher, Mike Judd.
7   */
# Line 94 | Line 94 | public class AtomicLongFieldUpdaterTest
94          assertEquals(-3,a.get(this));
95      }
96  
97
97      /**
98       * compareAndSet succeeds in changing value if equal to expected else fails
99       */
# Line 115 | Line 114 | public class AtomicLongFieldUpdaterTest
114          assertEquals(7,a.get(this));
115      }
116  
118
117      /**
118       * compareAndSet in one thread enables another waiting for value
119       * to succeed

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines