7052537: java/security/Security/NotInstalledProviders.java is causing -samevm tests to fail.
Reviewed-by: valeriep, asaha, alanb
--- a/jdk/test/java/security/Security/NoInstalledProviders.java Mon Jun 06 19:04:30 2011 -0700
+++ b/jdk/test/java/security/Security/NoInstalledProviders.java Thu Jun 09 14:24:09 2011 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2011, 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
@@ -23,8 +23,9 @@
/*
* @test
- * @bug 4273454
+ * @bug 4273454 7052537
* @summary Make sure getProviders(filter) doesn't throw NPE
+ * @run main/othervm NoInstalledProviders
*/
import java.security.*;