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.37 by jsr166, Thu Sep 15 01:18:01 2016 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++) {
# Line 315 | Line 317 | public class AtomicIntegerArrayTest exte
317      }
318  
319      /**
320 <     * a deserialized serialized array holds same values
320 >     * a deserialized/reserialized array holds same values in same order
321       */
322      public void testSerialization() throws Exception {
323          AtomicIntegerArray x = new AtomicIntegerArray(SIZE);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines