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

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

# Line 639 | Line 639 | public class LinkedBlockingQueueTest ext
639      /**
640       * toArray(incompatible array type) throws ArrayStoreException
641       */
642 <    public void testToArray1_BadArg() {
642 >    @SuppressWarnings("CollectionToArraySafeParameter")
643 >    public void testToArray_incompatibleArrayType() {
644          LinkedBlockingQueue<Item> q = populatedQueue(SIZE);
645          try {
646              q.toArray(new String[10]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines