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

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

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

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

              Created:
              Updated:
              Resolved: