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

Comparing jsr166/src/test/tck/VectorTest.java (file contents):
Revision 1.12 by jsr166, Wed Jan 27 01:57:25 2021 UTC vs.
Revision 1.13 by jsr166, Wed Jan 27 02:55:18 2021 UTC

# Line 351 | Line 351 | public class VectorTest extends JSR166Te
351       * toArray throws an ArrayStoreException when the given array
352       * can not store the objects inside the list
353       */
354 +    @SuppressWarnings("CollectionToArraySafeParameter")
355      public void testToArray_ArrayStoreException() {
356          List<Item> list = new Vector<>();
357          // Items are not auto-converted to Longs

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines