--- jsr166/src/test/tck/LinkedTransferQueueTest.java 2010/10/29 07:27:26 1.35 +++ jsr166/src/test/tck/LinkedTransferQueueTest.java 2010/11/03 07:54:52 1.36 @@ -584,12 +584,12 @@ public class LinkedTransferQueueTest ext } /** - * toArray(incompatible array type) throws CCE + * toArray(incompatible array type) throws ArrayStoreException */ public void testToArray1_BadArg() { LinkedTransferQueue q = populatedQueue(SIZE); try { - Object o[] = q.toArray(new String[10]); + q.toArray(new String[10]); shouldThrow(); } catch (ArrayStoreException success) {} }