From 6e476efa4ae270ccf518b7146de6c1f82a84b795 Mon Sep 17 00:00:00 2001 From: Alan Bateman Date: Mon, 19 Oct 2009 19:58:38 +0100 Subject: [PATCH] 6892710: (file) test/java/nio/file/Path/CheckPermissions.java fails in samevm mode Reviewed-by: ohair --- jdk/test/java/nio/file/Files/ContentType.java | 2 +- jdk/test/java/nio/file/Path/CheckPermissions.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/jdk/test/java/nio/file/Files/ContentType.java b/jdk/test/java/nio/file/Files/ContentType.java index fdbb9014ef6..3cea26539f8 100644 --- a/jdk/test/java/nio/file/Files/ContentType.java +++ b/jdk/test/java/nio/file/Files/ContentType.java @@ -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.*; diff --git a/jdk/test/java/nio/file/Path/CheckPermissions.java b/jdk/test/java/nio/file/Path/CheckPermissions.java index a8aef0f91f2..9e0f796afc7 100644 --- a/jdk/test/java/nio/file/Path/CheckPermissions.java +++ b/jdk/test/java/nio/file/Path/CheckPermissions.java @@ -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;