changeset 4056:97f9fdcc823c

6892710: (file) test/java/nio/file/Path/CheckPermissions.java fails in samevm mode Reviewed-by: ohair
author alanb
date Mon, 19 Oct 2009 19:58:38 +0100
parents 634915ae6ba9
children 6b1c7ed677cf
files jdk/test/java/nio/file/Files/ContentType.java jdk/test/java/nio/file/Path/CheckPermissions.java
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/java/nio/file/Files/ContentType.java	Thu Oct 15 22:47:56 2009 -0700
+++ b/jdk/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/jdk/test/java/nio/file/Path/CheckPermissions.java	Thu Oct 15 22:47:56 2009 -0700
+++ b/jdk/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;