From ed1f9b7c13dcbe4893e74d4eba6331df427b0b2b Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Tue, 24 Jun 2003 11:07:23 +0000 Subject: 2003-06-24 Michael Koch * java/net/SocketImpl.java (shutdownInput): Made it non-abstract method throwing an exception like in SUNs JRE. (shutdownOutput): Likewise. * java/net/SocketInputStream.java, java/net/SocketOutputStream.java: New files from classpath. From-SVN: r68416 --- libjava/java/net/SocketImpl.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libjava/java/net/SocketImpl.java') diff --git a/libjava/java/net/SocketImpl.java b/libjava/java/net/SocketImpl.java index d380d8caae4..14101513e09 100644 --- a/libjava/java/net/SocketImpl.java +++ b/libjava/java/net/SocketImpl.java @@ -287,7 +287,10 @@ public abstract class SocketImpl implements SocketOptions * * @exception IOException if an error occurs */ - protected abstract void shutdownInput () throws IOException; + protected void shutdownInput () throws IOException + { + throw new IOException ("Not implemented in this socket class"); + } /** * Shut down the output side of this socket. Subsequent writes will @@ -295,5 +298,8 @@ public abstract class SocketImpl implements SocketOptions * * @exception IOException if an error occurs */ - protected abstract void shutdownOutput () throws IOException; + protected void shutdownOutput () throws IOException + { + throw new IOException ("Not implemented in this socket class"); + } } -- cgit v1.2.3