< prev index next >

test/jdk/java/util/concurrent/tck/ArrayBlockingQueueTest.java

Print this page
8234131: Miscellaneous changes imported from jsr166 CVS 2021-01
Reviewed-by: martin

@@ -713,11 +713,11 @@
         Integer s = q.peek();
         for (int i = 0; i < size; i++) {
             Integer x = (Integer) it.next();
             assertEquals(s + i, (int) x);
             for (Object[] a : as)
-                assertSame(a1[i], x);
+                assertSame(a[i], x);
         }
     }
 
     /**
      * toArray() and toArray(a) contain all elements in FIFO order
< prev index next >