--- jsr166/src/test/tck/LinkedBlockingDequeTest.java 2010/10/28 17:57:26 1.28 +++ jsr166/src/test/tck/LinkedBlockingDequeTest.java 2010/11/03 07:54:52 1.29 @@ -1326,12 +1326,12 @@ public class LinkedBlockingDequeTest ext } /** - * toArray with incompatible array type throws CCE + * toArray(incompatible array type) throws ArrayStoreException */ public void testToArray1_BadArg() { LinkedBlockingDeque q = populatedDeque(SIZE); try { - Object o[] = q.toArray(new String[10]); + q.toArray(new String[10]); shouldThrow(); } catch (ArrayStoreException success) {} }