hg: jdk/sandbox: 8244933: DatagramSocket.connect does not specify that it may cause datagrams in the socket receive buffer to be discarded
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Wed Jun 10 10:15:37 UTC 2020
Changeset: fca27f266161
Author: pconcannon
Date: 2020-06-10 11:08 +0100
URL: https://hg.openjdk.java.net/jdk/sandbox/rev/fca27f266161
8244933: DatagramSocket.connect does not specify that it may cause datagrams in the socket receive buffer to be discarded
Summary: This fix updates the javadoc for `DatagramSocket.connect` to inform the user that it may cause datagrams in the socket receive buffer to be discarded if not previously received via a call to `DatagramSocket.receive`.
Reviewed-by: alanb, dfuchs
! src/java.base/share/classes/java/net/DatagramSocket.java
More information about the jdk-sandbox-changes
mailing list