--- jsr166/src/test/tck/LinkedListTest.java 2010/10/09 19:30:35 1.20 +++ jsr166/src/test/tck/LinkedListTest.java 2010/11/03 07:54:52 1.21 @@ -353,13 +353,13 @@ public class LinkedListTest extends JSR1 } /** - * toArray with incompatible array type throws CCE + * toArray(incompatible array type) throws ArrayStoreException */ public void testToArray1_BadArg() { LinkedList l = new LinkedList(); l.add(new Integer(5)); try { - Object o[] = l.toArray(new String[10]); + l.toArray(new String[10]); shouldThrow(); } catch (ArrayStoreException success) {} }