jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java
changeset 25185 3047e0a03066
parent 25182 1f6766bac82c
child 26195 64b54ed39429
equal deleted inserted replaced
25184:1e44da2ee62e 25185:3047e0a03066
    38 import java.util.concurrent.TimeUnit;
    38 import java.util.concurrent.TimeUnit;
    39 import java.util.concurrent.TimeoutException;
    39 import java.util.concurrent.TimeoutException;
    40 import java.util.concurrent.atomic.AtomicBoolean;
    40 import java.util.concurrent.atomic.AtomicBoolean;
    41 import java.util.concurrent.atomic.AtomicInteger;
    41 import java.util.concurrent.atomic.AtomicInteger;
    42 import java.util.function.Consumer;
    42 import java.util.function.Consumer;
    43 import java.util.function.IntUnaryOperator;
       
    44 
    43 
    45 import javax.management.*;
    44 import javax.management.*;
    46 import javax.management.remote.*;
    45 import javax.management.remote.*;
    47 import javax.net.ssl.SSLHandshakeException;
    46 import javax.net.ssl.SSLHandshakeException;
    48 
    47 
    52 /**
    51 /**
    53  * @test
    52  * @test
    54  * @bug 7110104
    53  * @bug 7110104
    55  * @library /lib/testlibrary
    54  * @library /lib/testlibrary
    56  * @build jdk.testlibrary.* JMXStartStopTest JMXStartStopDoSomething
    55  * @build jdk.testlibrary.* JMXStartStopTest JMXStartStopDoSomething
    57  * @run main/othervm JMXStartStopTest
    56  * @run main/othervm/timeout=600 JMXStartStopTest
    58  * @summary Makes sure that enabling/disabling the management agent through
    57  * @summary Makes sure that enabling/disabling the management agent through
    59  *          JCMD achieves the desired results
    58  *          JCMD achieves the desired results
    60  */
    59  */
    61 public class JMXStartStopTest {
    60 public class JMXStartStopTest {
    62     private static final String TEST_SRC = System.getProperty("test.src");
    61     private static final String TEST_SRC = System.getProperty("test.src");