jdk/test/java/util/prefs/RemoveNullKeyCheck.java
changeset 14694 6d6d54dc0ae1
parent 12681 ebee74a1fd8c
--- a/jdk/test/java/util/prefs/RemoveNullKeyCheck.java	Fri Nov 30 09:47:17 2012 +0100
+++ b/jdk/test/java/util/prefs/RemoveNullKeyCheck.java	Fri Nov 30 12:00:07 2012 -0800
@@ -22,9 +22,10 @@
  */
 
 /* @test
- * @bug 7160242 7165118
+ * @bug 7160242 7165118 7197662
  * @summary Check if NullPointerException is thrown if the key passed
  *          to remove() is null.
+ * @run main/othervm -Djava.util.prefs.userRoot=. RemoveNullKeyCheck
  */
 
 import java.util.prefs.Preferences;