diff --git a/jdk/test/java/util/prefs/CodePointZeroPrefsTest.java b/jdk/test/java/util/prefs/CodePointZeroPrefsTest.java index 79fe3f3fb87..661039092c5 100644 --- a/jdk/test/java/util/prefs/CodePointZeroPrefsTest.java +++ b/jdk/test/java/util/prefs/CodePointZeroPrefsTest.java @@ -28,6 +28,7 @@ import java.util.prefs.PreferencesFactory; * @test * @bug 8068373 8075110 8075156 * @summary Ensure a code point U+0000 null control character is detected. + * @run main/othervm -Djava.util.prefs.userRoot=. CodePointZeroPrefsTest */ public class CodePointZeroPrefsTest {