changeset 2185:38fbb2353a6a

6925977: (file) test/java/nio/file/Path/CheckPermissions.java fails if test.src on read-only file system Reviewed-by: chegar
author alanb
date Tue, 23 Feb 2010 17:56:55 +0000
parents c96d6cb31723
children 00abf8c232be
files test/java/nio/file/Path/CheckPermissions.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/nio/file/Path/CheckPermissions.java	Tue Feb 23 17:08:23 2010 +0000
+++ b/test/java/nio/file/Path/CheckPermissions.java	Tue Feb 23 17:56:55 2010 +0000
@@ -197,7 +197,7 @@
     }
 
     public static void main(String[] args) throws IOException {
-        Path dir = Paths.get(System.getProperty("test.src", "."));
+        Path dir = Paths.get(System.getProperty("test.dir", "."));
         Path file = dir.resolve("file1234").createFile();
         try {
             LoggingSecurityManager.install();