Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8244933

DatagramSocket.connect does not specify that it may cause datagrams in the socket receive buffer to be discarded

    Details

    • Subcomponent:
    • Resolved In Build:
      b27
    • Verification:
      Not verified

      Backports

        Description

        Currently, the javadoc for `DatagramSocket.connect` doesn't specify that it may cause datagrams in the socket receive buffer that have not been received (by calling receive) to be discarded. That may happen with the DatagramSocket adaptor returned by `DatagramChannel::connect`, and also with the new implementation proposed by JEP 373.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pconcannon Patrick Concannon
                  Reporter:
                  pconcannon Patrick Concannon
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: