summaryrefslogtreecommitdiff
path: root/gnu/java/nio/FileChannelImpl.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-06-21 11:49:24 +0000
committerMichael Koch <konqueror@gmx.de>2003-06-21 11:49:24 +0000
commitd79637f46780649551e243695b084b71835a386d (patch)
tree4f9c537e1f93efe1048a7e9085d65a1e3d7cfb9a /gnu/java/nio/FileChannelImpl.java
parent47b3be87dd4c8ebc890f958130ce17bb28a2a4e5 (diff)
downloadclasspath-d79637f46780649551e243695b084b71835a386d.tar.gz
2003-06-21 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileChannelImpl.java: Use new MappedByteBufferImpl instead of MappedByteFileBuffer. * java/nio/MappedByteBufferImpl.java: New files. * java/nio/MappedByteFileBuffer.java, java/nio/MappedCharFileBuffer.java, java/nio/MappedDoubleFileBuffer.java, java/nio/MappedFloatFileBuffer.java, java/nio/MappedIntFileBuffer.java, java/nio/MappedLongFileBuffer.java, java/nio/MappedLongFileBuffer.java: Removed. * java/nio/Makefile.am: (EXTRA_DIST): Added MappedByteBufferImpl.java and removed Mapped*FileBuffer.java
Diffstat (limited to 'gnu/java/nio/FileChannelImpl.java')
-rw-r--r--gnu/java/nio/FileChannelImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/java/nio/FileChannelImpl.java b/gnu/java/nio/FileChannelImpl.java
index 4326c3564..fc4db0daa 100644
--- a/gnu/java/nio/FileChannelImpl.java
+++ b/gnu/java/nio/FileChannelImpl.java
@@ -46,7 +46,7 @@ import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.MappedByteBuffer;
-import java.nio.MappedByteFileBuffer;
+import java.nio.MappedByteBufferImpl;
import java.nio.channels.ClosedChannelException;
import java.nio.channels.FileChannel;
import java.nio.channels.FileLock;
@@ -261,7 +261,7 @@ public class FileChannelImpl extends FileChannel
int cmode = mode.m;
map_address = nio_mmap_file (position, size, cmode);
length = (int) size;
- buf = new MappedByteFileBuffer (this);
+ buf = new MappedByteBufferImpl (this);
return buf;
}
@@ -272,7 +272,7 @@ public class FileChannelImpl extends FileChannel
FileChannelImpl ch = new FileChannelImpl ();
ch.map_address = map_address;
ch.length = (int) length;
- ch.buf = new MappedByteFileBuffer (ch);
+ ch.buf = new MappedByteBufferImpl (ch);
return ch.buf;
}