提交 d19d9786 编写于 作者: J jbachorik

8027358: sun/management/jmxremote/bootstrap/LocalManagementTest.java failing since JDK-8004926

Reviewed-by: alanb, egahlin
上级 66ba97a5
...@@ -35,7 +35,7 @@ import jdk.testlibrary.ProcessTools; ...@@ -35,7 +35,7 @@ import jdk.testlibrary.ProcessTools;
/** /**
* @test * @test
* @bug 6434402 8004926 * @bug 6434402 8004926
* @library ../../../../lib/testlibrary * @library /lib/testlibrary
* @build TestManager TestApplication CustomLauncherTest * @build TestManager TestApplication CustomLauncherTest
* @run main CustomLauncherTest * @run main CustomLauncherTest
* @author Jaroslav Bachorik * @author Jaroslav Bachorik
......
...@@ -35,7 +35,7 @@ import java.util.concurrent.atomic.AtomicReference; ...@@ -35,7 +35,7 @@ import java.util.concurrent.atomic.AtomicReference;
/** /**
* @test * @test
* @library ../../../../lib/testlibrary * @library /lib/testlibrary
* @bug 5016507 6173612 6319776 6342019 6484550 8004926 * @bug 5016507 6173612 6319776 6342019 6484550 8004926
* @summary Start a managed VM and test that a management tool can connect * @summary Start a managed VM and test that a management tool can connect
* without connection or username/password details. * without connection or username/password details.
...@@ -108,6 +108,8 @@ public class LocalManagementTest { ...@@ -108,6 +108,8 @@ public class LocalManagementTest {
"=com.sun.management.jmxremote.port=7775," + "=com.sun.management.jmxremote.port=7775," +
"com.sun.management.jmxremote.authenticate=false," + "com.sun.management.jmxremote.authenticate=false," +
"com.sun.management.jmxremote.ssl=false", "com.sun.management.jmxremote.ssl=false",
"-cp",
TEST_CLASSES,
"TestApplication", "TestApplication",
"-exit" "-exit"
); );
...@@ -160,6 +162,9 @@ public class LocalManagementTest { ...@@ -160,6 +162,9 @@ public class LocalManagementTest {
private static boolean doTest(String arg) throws Exception { private static boolean doTest(String arg) throws Exception {
List<String> args = new ArrayList<>(); List<String> args = new ArrayList<>();
args.add("-cp");
args.add(TEST_CLASSES);
if (arg != null) { if (arg != null) {
args.add(arg); args.add(arg);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册