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

(aio spec) AsynchronousDatagramChannel should override spec for read/write methods

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      The class description of AsynchronousDatagramChannel says "Asynchronous datagram channels allow more than one read/receive and write/send to be outstanding at any given time. ".
      This statement contradicts the AsynchronousDatagramChannel.read() method specification which says "If a thread initiates a read operation before a previous read operation has completed then a ReadPendingException will be thrown. " and AsynchronousDatagramChannel.write() method spec which says "If a thread initiates a write operation before a previous write operation has completed then a WritePendingException will be thrown."

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: