< prev index next >
test/jdk/javax/management/monitor/StartStopTest.java
Print this page
rev 51731 : imported patch 8210732
*** 26,38 ****
* @bug 6222826
* @summary Test that tasks are cancelled properly when
* monitors are started and stopped in a loop.
* @author Luis-Miguel Alventosa
*
! * @library /lib/testlibrary
*
- * @build jdk.testlibrary.*
* @run clean StartStopTest
* @run build StartStopTest
* @run main/othervm/timeout=300 StartStopTest 1
* @run main/othervm/timeout=300 StartStopTest 2
* @run main/othervm/timeout=300 StartStopTest 3
--- 26,37 ----
* @bug 6222826
* @summary Test that tasks are cancelled properly when
* monitors are started and stopped in a loop.
* @author Luis-Miguel Alventosa
*
! * @library /test/lib
*
* @run clean StartStopTest
* @run build StartStopTest
* @run main/othervm/timeout=300 StartStopTest 1
* @run main/othervm/timeout=300 StartStopTest 2
* @run main/othervm/timeout=300 StartStopTest 3
*** 54,64 ****
import javax.management.monitor.GaugeMonitor;
import javax.management.monitor.Monitor;
import javax.management.monitor.MonitorNotification;
import javax.management.monitor.StringMonitor;
! import jdk.testlibrary.Utils;
public class StartStopTest {
static int maxPoolSize;
static final AtomicInteger counter = new AtomicInteger();
--- 53,63 ----
import javax.management.monitor.GaugeMonitor;
import javax.management.monitor.Monitor;
import javax.management.monitor.MonitorNotification;
import javax.management.monitor.StringMonitor;
! import jdk.test.lib.Utils;
public class StartStopTest {
static int maxPoolSize;
static final AtomicInteger counter = new AtomicInteger();
< prev index next >