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

Comparing jsr166/src/test/tck/Collection8Test.java (file contents):
Revision 1.5 by jsr166, Tue Oct 25 01:32:55 2016 UTC vs.
Revision 1.6 by jsr166, Sat Oct 29 22:47:55 2016 UTC

# Line 105 | Line 105 | public class Collection8Test extends JSR
105              () -> c.retainAll(null),
106              () -> c.removeAll(null),
107              () -> c.removeIf(null),
108 +            () -> c.forEach(null),
109 +            () -> c.iterator().forEachRemaining(null),
110 +            () -> c.spliterator().forEachRemaining(null),
111 +            () -> c.spliterator().tryAdvance(null),
112              () -> c.toArray(null));
113  
114          if (!impl.permitsNulls()) {
# Line 128 | Line 132 | public class Collection8Test extends JSR
132                  () -> d.addLast(null),
133                  () -> d.offerFirst(null),
134                  () -> d.offerLast(null),
135 <                () -> d.push(null));
135 >                () -> d.push(null),
136 >                () -> d.descendingIterator().forEachRemaining(null));
137          }
138      }
139  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines