8165711: java/net/SetFactoryPermission/SetFactoryPermission.java needs to run in ovm mode
Reviewed-by: chegar
--- a/jdk/test/java/net/SetFactoryPermission/SetFactoryPermission.java Thu Sep 08 20:21:42 2016 +0530
+++ b/jdk/test/java/net/SetFactoryPermission/SetFactoryPermission.java Thu Sep 08 16:16:44 2016 +0100
@@ -27,7 +27,7 @@
* @bug 8048052
* @summary Test a series of methods which requires "setFactory" runtime permission
* @modules java.rmi
- * @run main SetFactoryPermission success
+ * @run main/othervm SetFactoryPermission success
* @run main/othervm/policy=policy.fail SetFactoryPermission fail
* @run main/othervm/policy=policy.success SetFactoryPermission success
*/