Release Note: DatagramSocket.send() and MulticastSocket.send() methods throw an IllegalArgumentException if the socket is not connected and the packet's port is out of range

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Withdrawn
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • Verified

      The behavior of `DatagramSocket` and `MulticastSocket` has been changed to throw `IllegelArgumentException` if not connected and passed a packet containing a port out of range, where previously a `SocketException` (or no exception) might have been thrown, depending on the underlying system.

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

              Created:
              Updated:
              Resolved: