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