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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • 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.

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

              Created:
              Updated:
              Resolved: