8079539: java/util/prefs/CodePointZeroPrefsTest.java fails with "java.util.prefs.BackingStoreException: Couldn't get file lock."
Summary: Add @run tag with property -Djava.util.prefs.userRoot=.
Reviewed-by: alanb
--- a/jdk/test/java/util/prefs/CodePointZeroPrefsTest.java Wed Jul 05 20:38:50 2017 +0200
+++ b/jdk/test/java/util/prefs/CodePointZeroPrefsTest.java Thu Jun 18 17:20:42 2015 -0700
@@ -28,6 +28,7 @@
* @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
{