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

Comparing jsr166/src/test/tck/LinkedListTest.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 389 | Line 389 | public class LinkedListTest extends JSR1
389      /**
390       * toArray(incompatible array type) throws ArrayStoreException
391       */
392 <    public void testToArray1_BadArg() {
392 >    @SuppressWarnings("CollectionToArraySafeParameter")
393 >    public void testToArray_incompatibleArrayType() {
394          LinkedList<Item> l = new LinkedList<>();
395          l.add(five);
396          try {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines