--- jsr166/src/test/tck/AtomicLongArrayTest.java 2017/08/04 03:30:21 1.37 +++ jsr166/src/test/tck/AtomicLongArrayTest.java 2021/01/26 13:33:05 1.38 @@ -54,6 +54,7 @@ public class AtomicLongArrayTest extends /** * get and set for out of bound indices throw IndexOutOfBoundsException */ + @SuppressWarnings("deprecation") public void testIndexing() { AtomicLongArray aa = new AtomicLongArray(SIZE); for (int index : new int[] { -1, SIZE }) { @@ -159,6 +160,7 @@ public class AtomicLongArrayTest extends * repeated weakCompareAndSet succeeds in changing value when equal * to expected */ + @SuppressWarnings("deprecation") public void testWeakCompareAndSet() { AtomicLongArray aa = new AtomicLongArray(SIZE); for (int i = 0; i < SIZE; i++) {