changeset 16758:b4f4306a9c34

8174196: sun/management/jdp tests are not running properly Reviewed-by: egahlin, dfuchs Contributed-by: amit.sapre@oracle.com
author asapre
date Wed, 15 Feb 2017 17:11:46 +0530
parents 615d771202e8
children de39e3d47a80
files test/sun/management/jdp/JdpDefaultsTest.java test/sun/management/jdp/JdpJmxRemoteDynamicPortTest.java test/sun/management/jdp/JdpOffTest.java test/sun/management/jdp/JdpSpecificAddressTest.java
diffstat 4 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/management/jdp/JdpDefaultsTest.java	Wed Feb 15 11:58:21 2017 +0530
+++ b/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/test/sun/management/jdp/JdpJmxRemoteDynamicPortTest.java	Wed Feb 15 11:58:21 2017 +0530
+++ b/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/test/sun/management/jdp/JdpOffTest.java	Wed Feb 15 11:58:21 2017 +0530
+++ b/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/test/sun/management/jdp/JdpSpecificAddressTest.java	Wed Feb 15 11:58:21 2017 +0530
+++ b/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
  */