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

    XMLWordPrintable

Details

    • b27
    • 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

                pconcannon Patrick Concannon (Inactive)
                pconcannon Patrick Concannon (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: