Release Note: java.net.Socket Constructors Can No Longer Be Used to Create a Datagram Socket

XMLWordPrintable

      The two deprecated `java.net.Socket` constructors that accept the `stream` parameter have been updated to throw an `IllegalArgumentException` if `stream` is `false`. These constructors can no longer be used to create datagram sockets. Instead use `java.net.DatagramSocket` for datagram sockets. These two constructors will be removed in a future release.

            Assignee:
            Jaikiran Pai
            Reporter:
            Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: