--- jsr166/src/test/tck/AtomicLongTest.java 2017/08/04 03:30:21 1.33 +++ 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));