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

(dc) DatagramChannel socket adaptor connect() method does not behave as DatagramSocket

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 14
    • core-libs
    • None

      DatagramSocket::connect allows implicit disconnect. The DatagramChannel socket adaptor throws AlreadyConnectedException if connect is called when the channel is already connected.

            alanb Alan Bateman
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: