Name: rm29839 Date: 11/05/97
MulticastSocket.setTTL takes a byte, but legal values
are between 0 and 255. Since bytes in Java are signed,
the only possible values are 0 to 127. The parameter
needs to be changed to a short or an int.
(Review ID: 18774)
======================================================================
- relates to
-
JDK-8332181 Deprecate for removal the MulticastSocket.send(DatagramPacket, byte) and setTTL/getTTL methods on DatagramSocketImpl and MulticastSocket
-
- Resolved
-
-
JDK-4151833 java.net.MulticastSocket.send ttl byte argument needs to be an int
-
- Closed
-