(aio) AsynchronousByteChannel.read/write should throw IAE if buffer is thread-confined

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 22, 25
    • Component/s: core-libs
    • None
    • b03

      If the read/write methods are called with a thread-confined buffer the I/O operation is initiated and fails. It would be better to throw IAE in the initiating thread so it works like calling a read method with a read-only buffer.

            Assignee:
            Alan Bateman
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: