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

Comparing jsr166/src/test/tck/AtomicLongTest.java (file contents):
Revision 1.33 by jsr166, Fri Aug 4 03:30:21 2017 UTC vs.
Revision 1.34 by dl, Tue Jan 26 13:33:05 2021 UTC

# Line 102 | Line 102 | public class AtomicLongTest extends JSR1
102       * repeated weakCompareAndSet succeeds in changing value when equal
103       * to expected
104       */
105 +    @SuppressWarnings("deprecation")
106      public void testWeakCompareAndSet() {
107          AtomicLong ai = new AtomicLong(1);
108          do {} while (!ai.weakCompareAndSet(1, 2));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines