summaryrefslogtreecommitdiff
path: root/java/io/FileOutputStream.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-04-06 10:38:29 +0000
committerMichael Koch <konqueror@gmx.de>2003-04-06 10:38:29 +0000
commite82a5d06e78252508066821f72abc49a6bf4b4fc (patch)
treeb3daf822e3dc564d2921633ebb8802d69215780a /java/io/FileOutputStream.java
parent6d4dbac6500f218f1ea1fe534b9626256b35b6ad (diff)
downloadclasspath-e82a5d06e78252508066821f72abc49a6bf4b4fc.tar.gz
2003-04-06 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileChannelImpl.java Mostly merged from libgcj. * gnu/java/nio/MappedByteFileBuffer.java, gnu/java/nio/MappedCharFileBuffer.java, gnu/java/nio/MappedDoubleFileBuffer.java, gnu/java/nio/MappedFloatFileBuffer.java, gnu/java/nio/MappedIntFileBuffer.java, gnu/java/nio/MappedLongFileBuffer.java, gnu/java/nio/MappedShortFileBuffer.java: Renamed address to map_address. * java/io/FileInputStream.java, java/io/FileOutputStream.java, java/io/RandomAccessFile.java: (getChannel): Merged from libgcj.
Diffstat (limited to 'java/io/FileOutputStream.java')
-rw-r--r--java/io/FileOutputStream.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/io/FileOutputStream.java b/java/io/FileOutputStream.java
index c8b4b821e..db5356c1b 100644
--- a/java/io/FileOutputStream.java
+++ b/java/io/FileOutputStream.java
@@ -290,7 +290,7 @@ public class FileOutputStream extends OutputStream
public synchronized FileChannel getChannel()
{
if (ch == null)
- ch = new FileChannelImpl ((int) (fd.getNativeFd() & 0xFFFF), this);
+ ch = new FileChannelImpl (fd, true, this);
return ch;
}