-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b24
The following methods on java.net.MulticastSocket and java.net.DatagramSocketImpl have been deprecated since Java 1.2:
public void setTTL(byte ttl) throws IOException
public byte getTTL() throws IOException
The following method on MulticastSocket too has been deprecated since Java 1.4
public void send(DatagramPacket p, byte ttl) throws IOException
The javadocs of these methods have already stated the replacement APIs to use. We should now mark these methods as deprecated for removal, so that they can be removed in some future release.
public void setTTL(byte ttl) throws IOException
public byte getTTL() throws IOException
The following method on MulticastSocket too has been deprecated since Java 1.4
public void send(DatagramPacket p, byte ttl) throws IOException
The javadocs of these methods have already stated the replacement APIs to use. We should now mark these methods as deprecated for removal, so that they can be removed in some future release.
- csr for
-
JDK-8332261 Deprecate for removal the MulticastSocket.send(DatagramPacket, byte) and setTTL/getTTL methods on DatagramSocketImpl and MulticastSocket
- Closed
- relates to
-
JDK-8332623 Remove setTTL()/getTTL() methods from DatagramSocketImpl/MulticastSocket and MulticastSocket.send(DatagramPacket, byte)
- Open
-
JDK-4148757 java.net.MulticastSocket.setTTL does not allow ttl=0
- Resolved
-
JDK-4091012 MulticastSocket.setTTL ttl byte argument needs to be an int
- Closed
-
JDK-4190216 would be nice to add a new API for send() in MulticastSocket.
- Closed
(2 links to)