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

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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines