ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ConcurrentLinkedQueueTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ConcurrentLinkedQueueTest.java (file contents):
Revision 1.10 by jsr166, Mon Nov 16 05:30:07 2009 UTC vs.
Revision 1.11 by jsr166, Tue Nov 17 12:16:30 2009 UTC

# Line 417 | Line 417 | public class ConcurrentLinkedQueueTest e
417      }
418  
419      /**
420 <     * toArray with incompatible array type throws CCE
420 >     * toArray with incompatible array type throws ArrayStoreException
421       */
422      public void testToArray1_BadArg() {
423          try {
424              ConcurrentLinkedQueue q = populatedQueue(SIZE);
425              Object o[] = q.toArray(new String[10] );
426              shouldThrow();
427 <        } catch (ArrayStoreException  success) {}
427 >        } catch (ArrayStoreException success) {}
428      }
429  
430      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines