--- a/jdk/src/solaris/classes/sun/nio/fs/UnixChannelFactory.java Wed Feb 16 12:38:13 2011 +0000
+++ b/jdk/src/solaris/classes/sun/nio/fs/UnixChannelFactory.java Thu Feb 17 20:50:22 2011 +0000
@@ -136,7 +136,7 @@
throw new IllegalArgumentException("APPEND + TRUNCATE_EXISTING not allowed");
FileDescriptor fdObj = open(dfd, path, pathForPermissionCheck, flags, mode);
- return FileChannelImpl.open(fdObj, flags.read, flags.write, null);
+ return FileChannelImpl.open(fdObj, flags.read, flags.write, flags.append, null);
}
/**