diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-11 09:44:57 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-11 09:44:57 +0000 |
commit | 2ab94420797ce3db177bc98908a301b2861738b5 (patch) | |
tree | 8cb311dd6e50521ad81865d52907437e75e5cd50 /libjava/gnu/java/nio/SelectorProviderImpl.java | |
parent | 10f8154772a6ee6f2d5a036b5266fce6b701f856 (diff) | |
download | ppe42-gcc-2ab94420797ce3db177bc98908a301b2861738b5.tar.gz ppe42-gcc-2ab94420797ce3db177bc98908a301b2861738b5.zip |
2003-02-11 Michael Koch <konqueror@gmx.de>
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62688 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/nio/SelectorProviderImpl.java')
-rw-r--r-- | libjava/gnu/java/nio/SelectorProviderImpl.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/gnu/java/nio/SelectorProviderImpl.java b/libjava/gnu/java/nio/SelectorProviderImpl.java index 3fedfc73546..d58e10a010e 100644 --- a/libjava/gnu/java/nio/SelectorProviderImpl.java +++ b/libjava/gnu/java/nio/SelectorProviderImpl.java @@ -37,6 +37,7 @@ exception statement from your version. */ package gnu.java.nio; +import java.io.IOException; import java.nio.channels.DatagramChannel; import java.nio.channels.Pipe; import java.nio.channels.ServerSocketChannel; @@ -51,26 +52,31 @@ public class SelectorProviderImpl extends SelectorProvider } public DatagramChannel openDatagramChannel () + throws IOException { return new DatagramChannelImpl (this); } public Pipe openPipe () + throws IOException { return new PipeImpl (); } public AbstractSelector openSelector () + throws IOException { return new SelectorImpl (this); } public ServerSocketChannel openServerSocketChannel () + throws IOException { return new ServerSocketChannelImpl (this); } public SocketChannel openSocketChannel () + throws IOException { return new SocketChannelImpl (this); } |