6892710: (file) test/java/nio/file/Path/CheckPermissions.java fails in samevm mode
authoralanb
Mon Oct 19 19:58:38 2009 +0100 (4 months ago)
changeset 1860d9f41daf8bcc
parent 1859368bb282464a
child 18615c6c6627b0b7
6892710: (file) test/java/nio/file/Path/CheckPermissions.java fails in samevm mode
Reviewed-by: ohair
test/java/nio/file/Files/ContentType.java
test/java/nio/file/Path/CheckPermissions.java
--- a/test/java/nio/file/Files/ContentType.java Thu Oct 15 22:47:56 2009 -0700
+++ b/test/java/nio/file/Files/ContentType.java Mon Oct 19 19:58:38 2009 +0100
@@ -26,7 +26,7 @@
* @summary Unit test for probeContentType method
* @library ..
* @build ContentType SimpleFileTypeDetector
- * @run main ContentType
+ * @run main/othervm ContentType
*/
import java.nio.file.*;
--- a/test/java/nio/file/Path/CheckPermissions.java Thu Oct 15 22:47:56 2009 -0700
+++ b/test/java/nio/file/Path/CheckPermissions.java Mon Oct 19 19:58:38 2009 +0100
@@ -25,6 +25,8 @@
* @bug 6866804
* @summary Unit test for java.nio.file.Path
* @library ..
+ * @build CheckPermissions
+ * @run main/othervm CheckPermissions
*/
import java.nio.ByteBuffer;