--- jsr166/src/test/tck/ArrayDequeTest.java 2010/08/25 01:46:24 1.16 +++ jsr166/src/test/tck/ArrayDequeTest.java 2010/11/03 07:54:52 1.17 @@ -655,13 +655,13 @@ public class ArrayDequeTest extends JSR1 } /** - * toArray with incompatible array type throws CCE + * toArray(incompatible array type) throws ArrayStoreException */ public void testToArray1_BadArg() { ArrayDeque l = new ArrayDeque(); l.add(new Integer(5)); try { - Object o[] = l.toArray(new String[10]); + l.toArray(new String[10]); shouldThrow(); } catch (ArrayStoreException success) {} }