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

Comparing jsr166/src/test/tck/ScheduledExecutorTest.java (file contents):
Revision 1.96 by jsr166, Mon Jan 8 02:04:15 2018 UTC vs.
Revision 1.97 by jsr166, Sat Nov 24 21:41:21 2018 UTC

# Line 607 | Line 607 | public class ScheduledExecutorTest exten
607          final ScheduledThreadPoolExecutor p = new ScheduledThreadPoolExecutor(1);
608          try (PoolCleaner cleaner = cleaner(p, releaser)) {
609              for (int i = 0; i < tasks.length; i++)
610 <                tasks[i] = p.schedule(new SmallPossiblyInterruptedRunnable(),
610 >                tasks[i] = p.schedule(possiblyInterruptedRunnable(SMALL_DELAY_MS),
611                                        LONG_DELAY_MS, MILLISECONDS);
612              int max = tasks.length;
613              if (tasks[4].cancel(true)) --max;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines