summaryrefslogtreecommitdiffstats
path: root/libjava/java/net/SocketImpl.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 09:25:54 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 09:25:54 +0000
commit9669b89c2f6d43fc2a5d2db6803aafd6fabff9ad (patch)
treec1f375125b1abd53065ba4ecf61513a803dd0360 /libjava/java/net/SocketImpl.java
parent8a5e3f3f9fbed741b886a2116f08118be0bd8a48 (diff)
downloadppe42-gcc-9669b89c2f6d43fc2a5d2db6803aafd6fabff9ad.tar.gz
ppe42-gcc-9669b89c2f6d43fc2a5d2db6803aafd6fabff9ad.zip
2003-06-08 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs into the Multicast constructors. * java/net/DatagramSocketImpl.java (getOption): Removed. (setOption): Removed. * java/net/MulticastSocket.java (MulticastSocket): Call setReuseAddress (true). * java/net/SocketImpl.java (getOption): Removed. (setOption): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67617 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/net/SocketImpl.java')
-rw-r--r--libjava/java/net/SocketImpl.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/libjava/java/net/SocketImpl.java b/libjava/java/net/SocketImpl.java
index 12dcb0b9a5c..25ffe91d1d2 100644
--- a/libjava/java/net/SocketImpl.java
+++ b/libjava/java/net/SocketImpl.java
@@ -277,38 +277,6 @@ public abstract class SocketImpl implements SocketOptions
}
/**
- * Sets the specified option on a socket to the passed in object. For
- * options that take an integer argument, the passed in object is an
- * <code>Integer</code>. For options that are set to on or off, the
- * value passed will be a <code>Boolean</code>. The <code>option_id</code>
- * parameter is one of the defined constants in the superinterface.
- *
- * @param option_id The identifier of the option
- * @param val The value to set the option to
- *
- * @exception SocketException If an error occurs
- * @XXX This redeclaration from SocketOptions is a workaround to a gcj bug.
- */
- public abstract void setOption(int option_id, Object val)
- throws SocketException;
-
- /**
- * Returns the current setting of the specified option. The
- * <code>Object</code> returned will be an <code>Integer</code> for options
- * that have integer values. For options that are set to on or off, a
- * <code>Boolean</code> will be returned. The <code>option_id</code>
- * is one of the defined constants in the superinterface.
- *
- * @param option_id The option identifier
- *
- * @return The current value of the option
- *
- * @exception SocketException If an error occurs
- * @XXX This redeclaration from SocketOptions is a workaround to a gcj bug.
- */
- public abstract Object getOption(int option_id) throws SocketException;
-
- /**
* Shut down the input side of this socket. Subsequent reads will
* return end-of-file.
*
OpenPOWER on IntegriCloud