equal
deleted
inserted
replaced
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 { |