@since tag missing from DatagramSocket and MulticastSocket methods

Patrick Concannon patrick.concannon at oracle.com
Tue Jan 14 11:49:33 UTC 2020


Hi,

Could someone please review my fix for JDK-8237075 '@since tag missing 
from DatagramSocket and MulticastSocket methods' ?

This trivial fix adds in the missing @since tags for methods listed 
below. These methods were originally added in JDK 1.2.

java/net/DatagramSocket:

 > public void connect(InetAddress address, int port)
 > public void disconnect()
 > public InetAddress getInetAddress()
 > public int getPort()
 > public synchronized void setSendBufferSize(int size)
 > public synchronized int getSendBufferSize() throws SocketException
 > public synchronized void setReceiveBufferSize(int size)
 > public synchronized int getReceiveBufferSize()

java/net/MulticastSocket:

 > public void setTimeToLive(int ttl)
 > public int getTimeToLive()


bug: https://bugs.openjdk.java.net/browse/JDK-8237075

webrev: http://cr.openjdk.java.net/~pconcannon/8237075/webrevs/webrev.00/


Kind regards,

Patrick



More information about the net-dev mailing list