--- jsr166/src/test/tck/AtomicLongTest.java 2015/04/25 04:55:30 1.29 +++ jsr166/src/test/tck/AtomicLongTest.java 2021/01/26 13:33:05 1.34 @@ -102,6 +102,7 @@ public class AtomicLongTest extends JSR1 * repeated weakCompareAndSet succeeds in changing value when equal * to expected */ + @SuppressWarnings("deprecation") public void testWeakCompareAndSet() { AtomicLong ai = new AtomicLong(1); do {} while (!ai.weakCompareAndSet(1, 2)); @@ -193,7 +194,7 @@ public class AtomicLongTest extends JSR1 } /** - * a deserialized serialized atomic holds same value + * a deserialized/reserialized atomic holds same value */ public void testSerialization() throws Exception { AtomicLong x = new AtomicLong();