--- old/src/windows/classes/sun/nio/fs/WindowsChannelFactory.java 2012-11-13 10:48:14.000000000 +0100 +++ new/src/windows/classes/sun/nio/fs/WindowsChannelFactory.java 2012-11-13 10:48:13.000000000 +0100 @@ -157,7 +157,7 @@ throw new IllegalArgumentException("APPEND + TRUNCATE_EXISTING not allowed"); FileDescriptor fdObj = open(pathForWindows, pathToCheck, flags, pSecurityDescriptor); - return FileChannelImpl.open(fdObj, flags.read, flags.write, flags.append, null); + return FileChannelImpl.open(fdObj, pathForWindows, flags.read, flags.write, flags.append, null); } /**