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.70 by jsr166, Mon Jan 8 02:04:15 2018 UTC vs.
Revision 1.71 by jsr166, Sat Nov 24 21:41:21 2018 UTC

# Line 649 | Line 649 | public class ScheduledExecutorSubclassTe
649          final CustomExecutor p = new CustomExecutor(1);
650          try (PoolCleaner cleaner = cleaner(p, releaser)) {
651              for (int i = 0; i < tasks.length; i++)
652 <                tasks[i] = p.schedule(new SmallPossiblyInterruptedRunnable(),
652 >                tasks[i] = p.schedule(possiblyInterruptedRunnable(SMALL_DELAY_MS),
653                                        LONG_DELAY_MS, MILLISECONDS);
654              int max = tasks.length;
655              if (tasks[4].cancel(true)) --max;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines