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
--- 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.*;