jdk/test/sun/management/jdp/JdpJmxRemoteDynamicPortTest.java
changeset 44423 306c020eb154
parent 44004 5f1d97ac4595
equal deleted inserted replaced
44422:14ab3266fe62 44423:306c020eb154
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /**
    24 /**
    25  *  @test JdpJmxRemoteDynamicPortTest.java
    25  * @test JdpJmxRemoteDynamicPortTest.java
    26  *  @bug 8167337
    26  * @bug 8167337
    27  *  @summary Verify a non-zero value is assigned to jmxremote.port
    27  * @summary Verify a non-zero value is assigned to jmxremote.port
    28  *           when VM is started with jmxremote.port=0.
    28  *          when VM is started with jmxremote.port=0.
    29  *  @library /lib/testlibrary
    29  *
    30  *  @modules jdk.management.agent/sun.management.jdp
    30  * @library /lib/testlibrary
    31  *  @build jdk.testlibrary.* ClientConnection JdpTestUtil JdpTestCase JdpJmxRemoteDynamicPortTestCase DynamicLauncher
    31  *
    32  *  @run main/othervm JdpJmxRemoteDynamicPortTest
    32  * @build jdk.testlibrary.* ClientConnection JdpTestUtil JdpTestCase JdpJmxRemoteDynamicPortTestCase DynamicLauncher
       
    33  * @run main/othervm JdpJmxRemoteDynamicPortTest
    33  */
    34  */
    34 
    35 
    35 import java.lang.management.ManagementFactory;
    36 import java.lang.management.ManagementFactory;
    36 
    37 
    37 public class JdpJmxRemoteDynamicPortTest  extends DynamicLauncher {
    38 public class JdpJmxRemoteDynamicPortTest  extends DynamicLauncher {