From 194ea9ced6f547f5a6922ff9ac1dfb895262f1a2 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Tue, 11 Feb 2003 09:44:57 +0000 Subject: 2003-02-11 Michael Koch * gnu/java/nio/natCharBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natDoubleBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natFloatBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natIntBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natLongBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natShortBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/SelectorProviderImpl.java (openDatagramChannel): Throws IOException. (openPipe): Throws IOException. (openSelector): Throws IOException. (openServerSocketChannel): Throws IOException. (openSocketChannel): Throws IOException. * gnu/java/nio/ServerSocketChannelImpl.java (ServerSocketChannelImpl): Throws IOException. (implCloseSelectableChannel): Throws IOException. (implConfigureBlocking): Throws IOException. * java/nio/ByteBuffer.java (readOnly): Removed. (hasArray): Use isReadOnly() instead of readOnly. (array): Use isReadOnly() instead of readOnly. (arrayOffset): Use isReadOnly() instead of readOnly. * java/nio/CharBuffer.java (CharBuffer): Implements Cloneable and CharSequence. From-SVN: r62688 --- libjava/gnu/java/nio/ServerSocketChannelImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libjava/gnu/java/nio/ServerSocketChannelImpl.java') diff --git a/libjava/gnu/java/nio/ServerSocketChannelImpl.java b/libjava/gnu/java/nio/ServerSocketChannelImpl.java index 4a51f2a4b61..d6810932684 100644 --- a/libjava/gnu/java/nio/ServerSocketChannelImpl.java +++ b/libjava/gnu/java/nio/ServerSocketChannelImpl.java @@ -58,6 +58,7 @@ class ServerSocketChannelImpl extends ServerSocketChannel SocketChannelImpl s); protected ServerSocketChannelImpl (SelectorProvider provider) + throws IOException { super (provider); fd = SocketChannelImpl.SocketCreate (); @@ -86,14 +87,14 @@ class ServerSocketChannelImpl extends ServerSocketChannel } } - protected void implCloseSelectableChannel () + protected void implCloseSelectableChannel () throws IOException { connected = false; SocketChannelImpl.SocketClose (fd); fd = SocketChannelImpl.SocketCreate (); } - protected void implConfigureBlocking (boolean block) + protected void implConfigureBlocking (boolean block) throws IOException { blocking = block; } -- cgit v1.2.3