(ch) ReadableByteChannelImpl::read and WritableByteChannelImpl::write might not throw ClosedChannelException as specified

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 10
    • Component/s: core-libs
    • None
    • b31
    • generic
    • generic

      Unless the parameter is a FileIn/OutputStream, the respective Channels::newChannel method will return a Read/WritableByteChannel which will throw an IOException instead of a ClosedChannelException if a read/write is attempted after close is invoked on the channel.

            Assignee:
            Brian Burkhalter
            Reporter:
            Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: