8062045: Update svc regression tests to extend the default security policy instead of override
authorakulyakh
Tue, 16 Jun 2015 16:36:27 +0300
changeset 31457 fa81a65e236d
parent 31456 e5310d2138b5
child 31458 4a8674cc6f9e
8062045: Update svc regression tests to extend the default security policy instead of override Summary: Changed main/othervm/policy to main/othervm/java.security.policy in the tests from the jdk_svc tests group Reviewed-by: jbachorik
jdk/test/javax/management/loading/MLetCLR/MLetCommand.java
jdk/test/javax/management/modelmbean/ModelMBeanInfoSupport/GetAllDescriptorsTest.java
jdk/test/javax/management/modelmbean/SimpleModelMBean/SimpleModelMBeanCommand.java
--- a/jdk/test/javax/management/loading/MLetCLR/MLetCommand.java	Mon Jun 15 13:48:28 2015 +0200
+++ b/jdk/test/javax/management/loading/MLetCLR/MLetCommand.java	Tue Jun 16 16:36:27 2015 +0300
@@ -31,7 +31,7 @@
  * @modules java.management
  * @run clean MLetCommand
  * @run build MLetCommand
- * @run main/othervm/policy=policy MLetCommand
+ * @run main/othervm/java.security.policy=policy MLetCommand
  */
 
 import javax.management.MBeanServer;
--- a/jdk/test/javax/management/modelmbean/ModelMBeanInfoSupport/GetAllDescriptorsTest.java	Mon Jun 15 13:48:28 2015 +0200
+++ b/jdk/test/javax/management/modelmbean/ModelMBeanInfoSupport/GetAllDescriptorsTest.java	Tue Jun 16 16:36:27 2015 +0300
@@ -30,7 +30,7 @@
  * @modules java.management
  * @run clean GetAllDescriptorsTest
  * @run build GetAllDescriptorsTest
- * @run main/othervm/policy=policy  GetAllDescriptorsTest
+ * @run main/othervm/java.security.policy=policy  GetAllDescriptorsTest
  */
 
 import java.lang.reflect.*;
--- a/jdk/test/javax/management/modelmbean/SimpleModelMBean/SimpleModelMBeanCommand.java	Mon Jun 15 13:48:28 2015 +0200
+++ b/jdk/test/javax/management/modelmbean/SimpleModelMBean/SimpleModelMBeanCommand.java	Tue Jun 16 16:36:27 2015 +0300
@@ -31,7 +31,7 @@
  * @modules java.management
  * @run clean SimpleModelMBeanCommand
  * @run build SimpleModelMBeanCommand
- * @run main/othervm/policy=policy  SimpleModelMBeanCommand
+ * @run main/othervm/java.security.policy=policy  SimpleModelMBeanCommand
  */
 
 import java.lang.reflect.*;