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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 10
    • 10
    • core-libs
    • None
    • b31
    • generic
    • generic

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: