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

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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines