[cvs] / jsr166 / src / test / tck / ArrayBlockingQueueTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/ArrayBlockingQueueTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.38, Wed Nov 3 07:54:52 2010 UTC revision 1.39, Wed Nov 3 16:46:34 2010 UTC
# Line 628  Line 628 
628      }      }
629    
630      /**      /**
631       * toArray(null) throws NPE       * toArray(null) throws NullPointerException
632       */       */
633      public void testToArray_BadArg() {      public void testToArray_NullArg() {
634          ArrayBlockingQueue q = populatedQueue(SIZE);          ArrayBlockingQueue q = populatedQueue(SIZE);
635          try {          try {
636              Object o[] = q.toArray(null);              q.toArray(null);
637              shouldThrow();              shouldThrow();
638          } catch (NullPointerException success) {}          } catch (NullPointerException success) {}
639      }      }

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8