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

Comparing jsr166/src/test/tck/ConcurrentLinkedQueueTest.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 417 | Line 417 | public class ConcurrentLinkedQueueTest e
417      /**
418       * toArray(incompatible array type) throws ArrayStoreException
419       */
420 <    public void testToArray1_BadArg() {
420 >    @SuppressWarnings("CollectionToArraySafeParameter")
421 >    public void testToArray_incompatibleArrayType() {
422          ConcurrentLinkedQueue<Item> q = populatedQueue(SIZE);
423          try {
424              q.toArray(new String[10]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines