diff options
author | Roman Kennke <roman@kennke.org> | 2006-06-28 18:28:33 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2006-06-28 18:28:33 +0000 |
commit | 823253efc205ac53d49c1a4860c1f1d1d056424c (patch) | |
tree | 0532df46ef35a1300ee66184c78a3c86d2c58c32 | |
parent | 9a074ee293da612f0ac9421c0efbeff6d3118415 (diff) | |
download | classpath-823253efc205ac53d49c1a4860c1f1d1d056424c.tar.gz |
2006-06-28 Roman Kennke <kennke@aicas.com>
* gnu/java/net/local/LocalSocket.java
(setSoTimeout): Don't throw exception and ignore request.
(getSoTimeout): Don't throw exception and always return 0.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gnu/java/net/local/LocalSocket.java | 5 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2006-06-28 Roman Kennke <kennke@aicas.com> + + * gnu/java/net/local/LocalSocket.java + (setSoTimeout): Don't throw exception and ignore request. + (getSoTimeout): Don't throw exception and always return 0. + 2006-06-28 David Gilbert <david.gilbert@object-refinery.com> * javax/swing/JComponent.java diff --git a/gnu/java/net/local/LocalSocket.java b/gnu/java/net/local/LocalSocket.java index b977d69c1..b262c794e 100644 --- a/gnu/java/net/local/LocalSocket.java +++ b/gnu/java/net/local/LocalSocket.java @@ -247,12 +247,13 @@ public final class LocalSocket extends Socket public void setSoTimeout (int i) throws SocketException { - throw new SocketException ("local sockets do not support this option"); + // Ignore. } public int getSoTimeout () throws SocketException { - throw new SocketException ("local sockets do not support this option"); + // We don't support timeout, so we return 0. + return 0; } public void setSendBufferSize (int i) throws SocketException |