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

Comparing jsr166/src/test/tck/ConcurrentLinkedDequeTest.java (file contents):
Revision 1.39 by jsr166, Wed Jan 27 02:34:23 2021 UTC vs.
Revision 1.40 by jsr166, Wed Jan 27 02:55:18 2021 UTC

# Line 687 | Line 687 | public class ConcurrentLinkedDequeTest e
687      /**
688       * toArray(incompatible array type) throws ArrayStoreException
689       */
690 <    public void testToArray1_BadArg() {
690 >    @SuppressWarnings("CollectionToArraySafeParameter")
691 >    public void testToArray_incompatibleArrayType() {
692          ConcurrentLinkedDeque<Item> q = populatedDeque(SIZE);
693          try {
694              q.toArray(new String[10]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines