< prev index next >

test/jdk/java/util/concurrent/ScheduledThreadPoolExecutor/ZeroCorePoolSize.java

Print this page
rev 51731 : imported patch 8210732

*** 24,41 **** /* * @test * @bug 7091003 * @summary ScheduledExecutorService never executes Runnable * with corePoolSize of zero ! * @library /lib/testlibrary/ * @author Chris Hegarty */ import static java.util.concurrent.TimeUnit.MILLISECONDS; import java.util.concurrent.ScheduledThreadPoolExecutor; ! import jdk.testlibrary.Utils; /** * Verify that tasks can be run even with a core pool size of 0. */ public class ZeroCorePoolSize { --- 24,41 ---- /* * @test * @bug 7091003 * @summary ScheduledExecutorService never executes Runnable * with corePoolSize of zero ! * @library /test/lib * @author Chris Hegarty */ import static java.util.concurrent.TimeUnit.MILLISECONDS; import java.util.concurrent.ScheduledThreadPoolExecutor; ! import jdk.test.lib.Utils; /** * Verify that tasks can be run even with a core pool size of 0. */ public class ZeroCorePoolSize {
< prev index next >