--- jsr166/src/test/tck/DelayQueueTest.java 2010/10/28 22:20:47 1.41 +++ jsr166/src/test/tck/DelayQueueTest.java 2010/11/03 07:54:52 1.42 @@ -704,12 +704,12 @@ public class DelayQueueTest extends JSR1 } /** - * toArray with incompatible array type throws CCE + * toArray(incompatible array type) throws ArrayStoreException */ public void testToArray1_BadArg() { DelayQueue q = populatedQueue(SIZE); try { - Object o[] = q.toArray(new String[10]); + q.toArray(new String[10]); shouldThrow(); } catch (ArrayStoreException success) {} }