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

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

# Line 588 | Line 588 | public class PriorityBlockingQueueTest e
588      /**
589       * toArray(incompatible array type) throws ArrayStoreException
590       */
591 <    public void testToArray1_BadArg() {
591 >    @SuppressWarnings("CollectionToArraySafeParameter")
592 >    public void testToArray_incompatibleArrayType() {
593          PriorityBlockingQueue<Item> q = populatedQueue(SIZE);
594          try {
595              q.toArray(new String[10]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines