diff options
author | Michael Koch <konqueror@gmx.de> | 2002-09-25 13:04:58 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2002-09-25 13:04:58 +0000 |
commit | 1754e35c3147031d9226d4f35844bfe4862e4a79 (patch) | |
tree | 4ce7006cedd97db2967f4a0be023311969c2d27e /libjava | |
parent | 3ccbe8195b5bcf55deae11b769f967dc01ea4387 (diff) | |
download | gcc-1754e35c3147031d9226d4f35844bfe4862e4a79.zip gcc-1754e35c3147031d9226d4f35844bfe4862e4a79.tar.gz gcc-1754e35c3147031d9226d4f35844bfe4862e4a79.tar.bz2 |
AbstractSelectableChannel.java: New file.
2002-09-25 Michael Koch <konqueror@gmx.de>
* java/nio/channels/spi/AbstractSelectableChannel.java: New file.
* java/nio/channels/DatagramChannel.java:
extends AbstractSelectableChannel
* java/nio/channels/ServerSocketChannel.java:
extends AbstractSelectableChannel
* java/nio/channels/SocketChannel.java:
extends AbstractSelectableChannel
* Makefile.am (ordinary_java_source_files):
java/nio/channels/spi/AbstractSelectableChannel.java added.
* Makefile.in: Regenerated.
This commit fixes the CVS build problems, Sorry for the trouble.
From-SVN: r57497
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 13 | ||||
-rw-r--r-- | libjava/Makefile.am | 1 | ||||
-rw-r--r-- | libjava/Makefile.in | 2 | ||||
-rw-r--r-- | libjava/java/nio/channels/DatagramChannel.java | 3 | ||||
-rw-r--r-- | libjava/java/nio/channels/ServerSocketChannel.java | 3 | ||||
-rw-r--r-- | libjava/java/nio/channels/SocketChannel.java | 3 | ||||
-rw-r--r-- | libjava/java/nio/channels/spi/AbstractSelectableChannel.java | 10 |
7 files changed, 35 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 50e8dd8..c650752 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,18 @@ 2002-09-25 Michael Koch <konqueror@gmx.de> + * java/nio/channels/spi/AbstractSelectableChannel.java: New file. + * java/nio/channels/DatagramChannel.java: + extends AbstractSelectableChannel + * java/nio/channels/ServerSocketChannel.java: + extends AbstractSelectableChannel + * java/nio/channels/SocketChannel.java: + extends AbstractSelectableChannel + * Makefile.am (ordinary_java_source_files): + java/nio/channels/spi/AbstractSelectableChannel.java added. + * Makefile.in: Regenerated. + +2002-09-25 Michael Koch <konqueror@gmx.de> + * java/net/DatagramSocket.java (DatagramSocket): Exception documentation added. (bind): Exception documentation added, addded SecurityManager check, diff --git a/libjava/Makefile.am b/libjava/Makefile.am index 4fd11df..7e55a78 100644 --- a/libjava/Makefile.am +++ b/libjava/Makefile.am @@ -1927,6 +1927,7 @@ java/nio/channels/DatagramChannel.java \ java/nio/channels/IllegalBlockingModeException.java \ java/nio/channels/ServerSocketChannel.java \ java/nio/channels/SocketChannel.java \ +java/nio/channels/spi/AbstractSelectableChannel.java \ java/security/AccessControlContext.java \ java/security/AccessControlException.java \ java/security/AccessController.java \ diff --git a/libjava/Makefile.in b/libjava/Makefile.in index c0bde3f..239aa37 100644 --- a/libjava/Makefile.in +++ b/libjava/Makefile.in @@ -1689,6 +1689,7 @@ java/nio/channels/DatagramChannel.java \ java/nio/channels/IllegalBlockingModeException.java \ java/nio/channels/ServerSocketChannel.java \ java/nio/channels/SocketChannel.java \ +java/nio/channels/spi/AbstractSelectableChannel.java \ java/security/AccessControlContext.java \ java/security/AccessControlException.java \ java/security/AccessController.java \ @@ -2906,6 +2907,7 @@ DEP_FILES = .deps/$(srcdir)/$(CONVERT_DIR)/gen-from-JIS.P \ .deps/java/nio/channels/IllegalBlockingModeException.P \ .deps/java/nio/channels/ServerSocketChannel.P \ .deps/java/nio/channels/SocketChannel.P \ +.deps/java/nio/channels/spi/AbstractSelectableChannel.P \ .deps/java/rmi/AccessException.P .deps/java/rmi/AlreadyBoundException.P \ .deps/java/rmi/ConnectException.P .deps/java/rmi/ConnectIOException.P \ .deps/java/rmi/MarshalException.P .deps/java/rmi/MarshalledObject.P \ diff --git a/libjava/java/nio/channels/DatagramChannel.java b/libjava/java/nio/channels/DatagramChannel.java index e1a0b1f..74a26c6 100644 --- a/libjava/java/nio/channels/DatagramChannel.java +++ b/libjava/java/nio/channels/DatagramChannel.java @@ -37,7 +37,10 @@ exception statement from your version. */ package java.nio.channels; +import java.nio.channels.spi.AbstractSelectableChannel; + public class DatagramChannel + extends AbstractSelectableChannel { } diff --git a/libjava/java/nio/channels/ServerSocketChannel.java b/libjava/java/nio/channels/ServerSocketChannel.java index d033384..e5d95c1 100644 --- a/libjava/java/nio/channels/ServerSocketChannel.java +++ b/libjava/java/nio/channels/ServerSocketChannel.java @@ -37,6 +37,9 @@ exception statement from your version. */ package java.nio.channels; +import java.nio.channels.spi.AbstractSelectableChannel; + public class ServerSocketChannel + extends AbstractSelectableChannel { } diff --git a/libjava/java/nio/channels/SocketChannel.java b/libjava/java/nio/channels/SocketChannel.java index 857c394..05fc8a5 100644 --- a/libjava/java/nio/channels/SocketChannel.java +++ b/libjava/java/nio/channels/SocketChannel.java @@ -37,6 +37,9 @@ exception statement from your version. */ package java.nio.channels; +import java.nio.channels.spi.AbstractSelectableChannel; + public class SocketChannel + extends AbstractSelectableChannel { } diff --git a/libjava/java/nio/channels/spi/AbstractSelectableChannel.java b/libjava/java/nio/channels/spi/AbstractSelectableChannel.java new file mode 100644 index 0000000..99f7233 --- /dev/null +++ b/libjava/java/nio/channels/spi/AbstractSelectableChannel.java @@ -0,0 +1,10 @@ +package java.nio.channels.spi; + +public abstract class AbstractSelectableChannel +{ + public final boolean isBlocking() + { + return true; + } +} + |