--- jsr166/src/test/tck/AbstractQueueTest.java 2015/02/28 18:06:38 1.11 +++ jsr166/src/test/tck/AbstractQueueTest.java 2015/02/28 18:23:30 1.12 @@ -165,11 +165,11 @@ public class AbstractQueueTest extends J * addAll throws ISE if an add fails */ public void testAddAll4() { + Fail q = new Fail(); + Integer[] ints = new Integer[SIZE]; + for (int i = 0; i < SIZE; ++i) + ints[i] = new Integer(i); try { - Fail q = new Fail(); - Integer[] ints = new Integer[SIZE]; - for (int i = 0; i < SIZE; ++i) - ints[i] = new Integer(i); q.addAll(Arrays.asList(ints)); shouldThrow(); } catch (IllegalStateException success) {}