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

Inconsistent Exceptions are thrown by DatagramSocket and DatagramChannel when sending a DatagramPacket to port 0.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • core-libs
    • b18
    • Verified

    Description

      With DatagramSocket and MulticastSocket an IOException is thrown when sending to port 0, while a BindException is thrown by DatagramChannel and DatagramSocketAdaptor.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: