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