[9] RFR of 8079539: java/util/prefs/CodePointZeroPrefsTest.java fails with "java.util.prefs.BackingStoreException: Couldn't get file lock."

Brian Burkhalter brian.burkhalter at oracle.com
Thu Jun 18 18:20:36 UTC 2015


Please review at your convenience.

Issue:	https://bugs.openjdk.java.net/browse/JDK-8079539
Diff:

--- a/test/java/util/prefs/CodePointZeroPrefsTest.java
+++ b/test/java/util/prefs/CodePointZeroPrefsTest.java
@@ -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
 {

The problem was due to a lack of permissions to set up the user root. This resulted from my omission to include the definition of the java.util.prefs.userRoot property in a @run tag.

Regression test job is in progress.

Thanks,

Brian


More information about the core-libs-dev mailing list