--- jsr166/src/test/tck/ArrayBlockingQueueTest.java 2010/10/28 17:57:26 1.36 +++ jsr166/src/test/tck/ArrayBlockingQueueTest.java 2010/11/03 07:54:52 1.38 @@ -427,7 +427,7 @@ public class ArrayBlockingQueueTest exte } /** - * timed pool with zero timeout succeeds when non-empty, else times out + * timed poll with zero timeout succeeds when non-empty, else times out */ public void testTimedPoll0() throws InterruptedException { ArrayBlockingQueue q = populatedQueue(SIZE); @@ -438,7 +438,7 @@ public class ArrayBlockingQueueTest exte } /** - * timed pool with nonzero timeout succeeds when non-empty, else times out + * timed poll with nonzero timeout succeeds when non-empty, else times out */ public void testTimedPoll() throws InterruptedException { ArrayBlockingQueue q = populatedQueue(SIZE); @@ -639,12 +639,12 @@ public class ArrayBlockingQueueTest exte } /** - * toArray with incompatible array type throws CCE + * toArray(incompatible array type) throws ArrayStoreException */ public void testToArray1_BadArg() { ArrayBlockingQueue q = populatedQueue(SIZE); try { - Object o[] = q.toArray(new String[10]); + q.toArray(new String[10]); shouldThrow(); } catch (ArrayStoreException success) {} }