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

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

# Line 55 | Line 55 | public class AtomicIntegerArrayTest exte
55      /**
56       * get and set for out of bound indices throw IndexOutOfBoundsException
57       */
58 +    @SuppressWarnings("deprecation")
59      public void testIndexing() {
60          AtomicIntegerArray aa = new AtomicIntegerArray(SIZE);
61          for (int index : new int[] { -1, SIZE }) {
# Line 160 | Line 161 | public class AtomicIntegerArrayTest exte
161       * repeated weakCompareAndSet succeeds in changing value when equal
162       * to expected
163       */
164 +    @SuppressWarnings("deprecation")
165      public void testWeakCompareAndSet() {
166          AtomicIntegerArray aa = new AtomicIntegerArray(SIZE);
167          for (int i = 0; i < SIZE; i++) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines