(aio) AsynchronousDatagramChannel.read throws NotYetConnectedException if invoked on a closed chan

XMLWordPrintable

    • generic
    • generic

      There is a difference in AsynchronousDatagramChannel read() and recieve methods functionality when they are invoked on a closed channel.
      While the receive() method rightly throws ClosedChannelException,the read() method throws NotYetConnectedException in this scenario.

      The read method should also throw ClosedChannelException.

            Assignee:
            Unassigned
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: