summaryrefslogtreecommitdiff
path: root/gnu/java/nio/FileChannelImpl.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-06-11 14:58:21 +0000
committerMichael Koch <konqueror@gmx.de>2003-06-11 14:58:21 +0000
commit7458afc32c319f2a0fefe0181256b67aad21a44c (patch)
tree7206e2e7c0cc41e6a5195833fd38a71e1d74037b /gnu/java/nio/FileChannelImpl.java
parent8d5ea26b3078d5690c51a35573a3135eccf244d5 (diff)
downloadclasspath-7458afc32c319f2a0fefe0181256b67aad21a44c.tar.gz
2003-06-11 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileChannelImpl.java: Imported import java.nio.MappedByteFileBuffer. (map_address): made public for now. * java/nio/MappedByteBuffer.java, 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/MappedShortFileBuffer.java: Moved from gnu/java/nio. * gnu/java/nio/Makefile.am (EXTRA_DIST): Removed files. * java/nio/Makefile.am (EXTRA_DIST): Added new files.
Diffstat (limited to 'gnu/java/nio/FileChannelImpl.java')
-rw-r--r--gnu/java/nio/FileChannelImpl.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/java/nio/FileChannelImpl.java b/gnu/java/nio/FileChannelImpl.java
index 0f443f6ff..356cbfbeb 100644
--- a/gnu/java/nio/FileChannelImpl.java
+++ b/gnu/java/nio/FileChannelImpl.java
@@ -45,6 +45,7 @@ import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.MappedByteBuffer;
+import java.nio.MappedByteFileBuffer;
import java.nio.channels.ClosedChannelException;
import java.nio.channels.FileChannel;
import java.nio.channels.FileLock;
@@ -64,7 +65,8 @@ import gnu.classpath.RawData;
public class FileChannelImpl extends FileChannel
{
- RawData map_address;
+ // FIXME: This should not be public
+ public RawData map_address;
int length;
FileDescriptor fd;