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

Behaviors of DatagramSocket/DatagramChannel::socket send methods are not always consistent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b07

      Description

      DatagramSocket does not specify what happens if the socket is not connected and DatagramPacket.getPort() is -1, or DatagramPacket.getAddress() is any local address.

      DatagramChannel also doesn't specify what happens if the target address contains the wildcard address

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pconcannon Patrick Concannon (Inactive)
              Reporter:
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: