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

Comparing jsr166/src/test/tck/CopyOnWriteArrayListTest.java (file contents):
Revision 1.51 by jsr166, Wed Jan 27 01:57:24 2021 UTC vs.
Revision 1.52 by jsr166, Wed Jan 27 02:55:18 2021 UTC

# Line 616 | Line 616 | public class CopyOnWriteArrayListTest ex
616       * toArray throws an ArrayStoreException when the given array
617       * can not store the objects inside the list
618       */
619 +    @SuppressWarnings("CollectionToArraySafeParameter")
620      public void testToArray_ArrayStoreException() {
621          List<Item> list = new CopyOnWriteArrayList<>();
622          // Items are not auto-converted to Longs

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines