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

Comparing jsr166/src/test/tck/SynchronousQueueTest.java (file contents):
Revision 1.61 by jsr166, Fri Aug 4 03:30:21 2017 UTC vs.
Revision 1.62 by jsr166, Fri Jun 22 00:04:58 2018 UTC

# Line 437 | Line 437 | public class SynchronousQueueTest extend
437      public void testToArray_null(boolean fair) {
438          final SynchronousQueue q = new SynchronousQueue(fair);
439          try {
440 <            Object[] o = q.toArray(null);
440 >            Object[] o = q.toArray((Object[])null);
441              shouldThrow();
442          } catch (NullPointerException success) {}
443      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines