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

Comparing jsr166/src/test/tck/ScheduledExecutorSubclassTest.java (file contents):
Revision 1.66 by jsr166, Sat Apr 1 16:28:31 2017 UTC vs.
Revision 1.67 by jsr166, Mon May 29 19:15:02 2017 UTC

# Line 297 | Line 297 | public class ScheduledExecutorSubclassTe
297          final CustomExecutor p = new CustomExecutor(1);
298          try (PoolCleaner cleaner = cleaner(p)) {
299              try {
300 <                TrackedCallable callable = null;
301 <                Future f = p.schedule(callable, SHORT_DELAY_MS, MILLISECONDS);
300 >                Future f = p.schedule((Callable)null,
301 >                                      randomTimeout(), randomTimeUnit());
302                  shouldThrow();
303              } catch (NullPointerException success) {}
304          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines