--- a/jdk/src/solaris/classes/sun/nio/fs/UnixFileSystemProvider.java Fri Jun 26 18:39:45 2009 -0700
+++ b/jdk/src/solaris/classes/sun/nio/fs/UnixFileSystemProvider.java Sat Jun 27 21:46:53 2009 +0100
@@ -93,7 +93,7 @@
return UnixUriUtils.fromUri(theFileSystem, uri);
}
- private UnixPath checkPath(Path obj) {
+ protected UnixPath checkPath(Path obj) {
if (obj == null)
throw new NullPointerException();
if (!(obj instanceof UnixPath))
@@ -102,9 +102,9 @@
}
@Override
- public final FileChannel newFileChannel(Path obj,
- Set<? extends OpenOption> options,
- FileAttribute<?>... attrs)
+ public FileChannel newFileChannel(Path obj,
+ Set<? extends OpenOption> options,
+ FileAttribute<?>... attrs)
throws IOException
{
UnixPath file = checkPath(obj);
@@ -119,10 +119,10 @@
}
@Override
- public final AsynchronousFileChannel newAsynchronousFileChannel(Path obj,
- Set<? extends OpenOption> options,
- ExecutorService executor,
- FileAttribute<?>... attrs) throws IOException
+ public AsynchronousFileChannel newAsynchronousFileChannel(Path obj,
+ Set<? extends OpenOption> options,
+ ExecutorService executor,
+ FileAttribute<?>... attrs) throws IOException
{
UnixPath file = checkPath(obj);
int mode = UnixFileModeAttribute