< prev index next >
test/sun/management/jmxremote/bootstrap/LocalManagementTest.java
Print this page
rev 16856 : 8177374: fix module dependency declaration in jdk_svc tests
Reviewed-by: duke
*** 30,46 ****
import jdk.testlibrary.ProcessTools;
import jdk.testlibrary.Utils;
/**
* @test
- * @library /lib/testlibrary
* @bug 5016507 6173612 6319776 6342019 6484550 8004926
* @summary Start a managed VM and test that a management tool can connect
* without connection or username/password details.
* TestManager will attempt a connection to the address obtained from
* both agent properties and jvmstat buffer.
* @modules jdk.management.agent/jdk.internal.agent
* @build jdk.testlibrary.* TestManager TestApplication
* @run main/othervm/timeout=300 LocalManagementTest
*/
public class LocalManagementTest {
private static final String TEST_CLASSPATH = System.getProperty("test.class.path");
--- 30,50 ----
import jdk.testlibrary.ProcessTools;
import jdk.testlibrary.Utils;
/**
* @test
* @bug 5016507 6173612 6319776 6342019 6484550 8004926
* @summary Start a managed VM and test that a management tool can connect
* without connection or username/password details.
* TestManager will attempt a connection to the address obtained from
* both agent properties and jvmstat buffer.
+ *
+ * @library /lib/testlibrary
* @modules jdk.management.agent/jdk.internal.agent
+ * java.management
+ * jdk.attach
+ *
* @build jdk.testlibrary.* TestManager TestApplication
* @run main/othervm/timeout=300 LocalManagementTest
*/
public class LocalManagementTest {
private static final String TEST_CLASSPATH = System.getProperty("test.class.path");
< prev index next >