8174196: sun/management/jdp tests are not running properly
authorasapre
Wed, 15 Feb 2017 17:11:46 +0530
changeset 43993 e232e81676f2
parent 43992 2eab88a780e3
child 43994 bfa5dcb74e06
8174196: sun/management/jdp tests are not running properly Reviewed-by: egahlin, dfuchs Contributed-by: amit.sapre@oracle.com
jdk/test/sun/management/jdp/JdpDefaultsTest.java
jdk/test/sun/management/jdp/JdpJmxRemoteDynamicPortTest.java
jdk/test/sun/management/jdp/JdpOffTest.java
jdk/test/sun/management/jdp/JdpSpecificAddressTest.java
--- a/jdk/test/sun/management/jdp/JdpDefaultsTest.java	Wed Feb 15 11:58:21 2017 +0530
+++ b/jdk/test/sun/management/jdp/JdpDefaultsTest.java	Wed Feb 15 17:11:46 2017 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -33,7 +33,7 @@
  * @library /lib/testlibrary
  * @modules jdk.management.agent/sun.management.jdp
  * @build jdk.testlibrary.* ClientConnection JdpTestUtil JdpTestCase JdpOnTestCase DynamicLauncher
- * @run main JdpDefaultsTest
+ * @run main/othervm JdpDefaultsTest
  */
 
 public class JdpDefaultsTest extends DynamicLauncher {
--- a/jdk/test/sun/management/jdp/JdpJmxRemoteDynamicPortTest.java	Wed Feb 15 11:58:21 2017 +0530
+++ b/jdk/test/sun/management/jdp/JdpJmxRemoteDynamicPortTest.java	Wed Feb 15 17:11:46 2017 +0530
@@ -29,7 +29,7 @@
  *  @library /lib/testlibrary
  *  @modules jdk.management.agent/sun.management.jdp
  *  @build jdk.testlibrary.* ClientConnection JdpTestUtil JdpTestCase JdpJmxRemoteDynamicPortTestCase DynamicLauncher
- *  @run main JdpJmxRemoteDynamicPortTest
+ *  @run main/othervm JdpJmxRemoteDynamicPortTest
  */
 
 import java.lang.management.ManagementFactory;
--- a/jdk/test/sun/management/jdp/JdpOffTest.java	Wed Feb 15 11:58:21 2017 +0530
+++ b/jdk/test/sun/management/jdp/JdpOffTest.java	Wed Feb 15 17:11:46 2017 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -34,7 +34,7 @@
  * @library /lib/testlibrary
  * @modules jdk.management.agent/sun.management.jdp
  * @build jdk.testlibrary.* ClientConnection JdpTestUtil JdpTestCase JdpOffTestCase DynamicLauncher
- * @run main JdpOffTest
+ * @run main/othervm JdpOffTest
  */
 
 
--- a/jdk/test/sun/management/jdp/JdpSpecificAddressTest.java	Wed Feb 15 11:58:21 2017 +0530
+++ b/jdk/test/sun/management/jdp/JdpSpecificAddressTest.java	Wed Feb 15 17:11:46 2017 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -33,7 +33,7 @@
  * @library /lib/testlibrary
  * @modules jdk.management.agent/sun.management.jdp
  * @build jdk.testlibrary.* ClientConnection JdpTestUtil JdpTestCase JdpOnTestCase DynamicLauncher
- * @run main JdpSpecificAddressTest
+ * @run main/othervm JdpSpecificAddressTest
  */