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

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

# Line 1550 | Line 1550 | public class LinkedBlockingDequeTest ext
1550      /**
1551       * toArray(incompatible array type) throws ArrayStoreException
1552       */
1553 <    public void testToArray1_BadArg() {
1553 >    @SuppressWarnings("CollectionToArraySafeParameter")
1554 >    public void testToArray_incompatibleArrayType() {
1555          LinkedBlockingDeque<Item> q = populatedDeque(SIZE);
1556          try {
1557              q.toArray(new String[10]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines