From 54834c3419935dc2f4cb7055a32b3c126159151d Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 15 Nov 2002 14:24:48 +0000 Subject: 2002-11-15 Eric Blake * 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. --- gnu/java/nio/FileChannelImpl.java | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'gnu/java/nio/FileChannelImpl.java') 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"); + } +} -- cgit v1.2.1