RFR[8244933]: ‘DatagramSocket.connect does not specify that it may cause datagrams in the socket receive buffer to be discarded’
Patrick Concannon
patrick.concannon at oracle.com
Tue Jun 9 14:42:11 UTC 2020
Hi,
Could someone please review my fix for JDK-8244933 - ‘DatagramSocket.connect does not specify that it may cause datagrams in the socket receive buffer to be discarded’ ?
Currently, the javadoc for `DatagramSocket.connect` doesn't specify that it may cause datagrams in the socket receive buffer to be discarded if not previously received via a call to `DatagramSocket.receive`. This fix updates the javadoc to inform the user of this behaviour.
issue: https://bugs.openjdk.java.net/browse/JDK-8244933 <https://bugs.openjdk.java.net/browse/JDK-8244933>
webrev: http://cr.openjdk.java.net/~pconcannon/8244933/webrevs/webrev.00/ <http://cr.openjdk.java.net/~pconcannon/8244933/webrevs/webrev.00/>
csr: https://bugs.openjdk.java.net/browse/JDK-8247181 <https://bugs.openjdk.java.net/browse/JDK-8247181>
Kind regards,
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20200609/c0412843/attachment.htm>
More information about the net-dev
mailing list