summaryrefslogtreecommitdiff
path: root/gnu/java/nio/FileChannelImpl.java
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2002-11-15 14:24:48 +0000
committerEric Blake <ebb9@byu.net>2002-11-15 14:24:48 +0000
commit54834c3419935dc2f4cb7055a32b3c126159151d (patch)
tree44966a41963ed09f52b0e7dbd79596110f5528ba /gnu/java/nio/FileChannelImpl.java
parent4239a304becba56aef9ce945a03a57416d9a4237 (diff)
downloadclasspath-54834c3419935dc2f4cb7055a32b3c126159151d.tar.gz
2002-11-15 Eric Blake <ebb9@email.byu.edu>
* gnu/java/nio/FileChannelImpl.java (write, read): Add missing stub methods. * java/net/MulticastSocket.java: Add missing import. * java/nio/channels/FileChannel.java: Add missing import.
Diffstat (limited to 'gnu/java/nio/FileChannelImpl.java')
-rw-r--r--gnu/java/nio/FileChannelImpl.java13
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/java/nio/FileChannelImpl.java b/gnu/java/nio/FileChannelImpl.java
index 0ffb266c2..c252d0bc4 100644
--- a/gnu/java/nio/FileChannelImpl.java
+++ b/gnu/java/nio/FileChannelImpl.java
@@ -48,7 +48,7 @@ import java.nio.channels.*;
* Upon a Input/Output/RandomAccessFile object.
*/
-public class FileChannelImpl extends FileChannel
+public class FileChannelImpl extends FileChannel
{
public long address;
public int length;
@@ -207,5 +207,14 @@ public class FileChannelImpl extends FileChannel
static native void nio_msync(int fd,
long address,
int length);
-}
+ public long write(ByteBuffer[] srcs) throws IOException {
+ throw new Error("not implemented");
+ }
+ public long read(ByteBuffer[] srcs, int offset, int length) throws IOException {
+ throw new Error("not implemented");
+ }
+ public long read(ByteBuffer[] srcs) throws IOException {
+ throw new Error("not implemented");
+ }
+}