diff options
author | Michael Koch <konqueror@gmx.de> | 2003-11-22 15:13:01 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-11-22 15:13:01 +0000 |
commit | d3f010ec288b1ae9e78beff6ddf3ba3b970eec3b (patch) | |
tree | 2bc05697b6f90919f738aef5be54cae0a78ee485 | |
parent | 249083758d18f86be080a87d0ec8630ad58c1f30 (diff) | |
download | gcc-d3f010ec288b1ae9e78beff6ddf3ba3b970eec3b.zip gcc-d3f010ec288b1ae9e78beff6ddf3ba3b970eec3b.tar.gz gcc-d3f010ec288b1ae9e78beff6ddf3ba3b970eec3b.tar.bz2 |
2003-11-22 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/DatagramChannelImpl.java
(getNativeFD): Use getPlainDatagramSocketImpl().
* gnu/java/nio/NIODatagramSocket.java
(getPlainDatagramSocketImpl): Renamed from getImpl().
* gnu/java/nio/NIOSocket.java
(getPlainSocketImpl): Renamed from getImpl().
(setChannel): Use getPlainSocketImpl().
* gnu/java/nio/SocketChannelImpl.java
(SocketChannelImpl): Use getPlainSocketImpl().
(getPlainSocketImpl): Renamed from getImpl().
(getNativeFD): Use getPlainSocketImpl().
From-SVN: r73840
-rw-r--r-- | libjava/ChangeLog | 14 | ||||
-rw-r--r-- | libjava/gnu/java/nio/DatagramChannelImpl.java | 2 | ||||
-rw-r--r-- | libjava/gnu/java/nio/NIODatagramSocket.java | 2 | ||||
-rw-r--r-- | libjava/gnu/java/nio/NIOSocket.java | 4 | ||||
-rw-r--r-- | libjava/gnu/java/nio/SocketChannelImpl.java | 6 |
5 files changed, 21 insertions, 7 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 79a8911..ee61300 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,17 @@ +2003-11-22 Michael Koch <konqueror@gmx.de> + + * gnu/java/nio/DatagramChannelImpl.java + (getNativeFD): Use getPlainDatagramSocketImpl(). + * gnu/java/nio/NIODatagramSocket.java + (getPlainDatagramSocketImpl): Renamed from getImpl(). + * gnu/java/nio/NIOSocket.java + (getPlainSocketImpl): Renamed from getImpl(). + (setChannel): Use getPlainSocketImpl(). + * gnu/java/nio/SocketChannelImpl.java + (SocketChannelImpl): Use getPlainSocketImpl(). + (getPlainSocketImpl): Renamed from getImpl(). + (getNativeFD): Use getPlainSocketImpl(). + 2003-11-18 Graydon Hoare <graydon@redhat.com> * javax/swing/JLayeredPane.java: Implement. diff --git a/libjava/gnu/java/nio/DatagramChannelImpl.java b/libjava/gnu/java/nio/DatagramChannelImpl.java index b2dcd32..a77355d 100644 --- a/libjava/gnu/java/nio/DatagramChannelImpl.java +++ b/libjava/gnu/java/nio/DatagramChannelImpl.java @@ -67,7 +67,7 @@ public final class DatagramChannelImpl extends DatagramChannel public int getNativeFD() { - return socket.getImpl().getNativeFD(); + return socket.getPlainDatagramSocketImpl().getNativeFD(); } public DatagramSocket socket () diff --git a/libjava/gnu/java/nio/NIODatagramSocket.java b/libjava/gnu/java/nio/NIODatagramSocket.java index 6c44c9d..ff71c80 100644 --- a/libjava/gnu/java/nio/NIODatagramSocket.java +++ b/libjava/gnu/java/nio/NIODatagramSocket.java @@ -59,7 +59,7 @@ public final class NIODatagramSocket extends DatagramSocket this.channel = channel; } - public final PlainDatagramSocketImpl getImpl() + public final PlainDatagramSocketImpl getPlainDatagramSocketImpl() { return impl; } diff --git a/libjava/gnu/java/nio/NIOSocket.java b/libjava/gnu/java/nio/NIOSocket.java index ba98073..7f955c3 100644 --- a/libjava/gnu/java/nio/NIOSocket.java +++ b/libjava/gnu/java/nio/NIOSocket.java @@ -59,14 +59,14 @@ public final class NIOSocket extends Socket this.channel = channel; } - public final PlainSocketImpl getImpl() + public final PlainSocketImpl getPlainSocketImpl() { return impl; } final void setChannel (SocketChannelImpl channel) { - this.impl = channel.getImpl(); + this.impl = channel.getPlainSocketImpl(); this.channel = channel; } diff --git a/libjava/gnu/java/nio/SocketChannelImpl.java b/libjava/gnu/java/nio/SocketChannelImpl.java index 0478e32..ae7af3c 100644 --- a/libjava/gnu/java/nio/SocketChannelImpl.java +++ b/libjava/gnu/java/nio/SocketChannelImpl.java @@ -81,7 +81,7 @@ public final class SocketChannelImpl extends SocketChannel throws IOException { super (provider); - this.impl = socket.getImpl(); + this.impl = socket.getPlainSocketImpl(); this.socket = socket; } @@ -99,14 +99,14 @@ public final class SocketChannelImpl extends SocketChannel } } - PlainSocketImpl getImpl() + PlainSocketImpl getPlainSocketImpl() { return impl; } int getNativeFD() { - return socket.getImpl().getNativeFD(); + return socket.getPlainSocketImpl().getNativeFD(); } protected void implCloseSelectableChannel () throws IOException |