You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2026/03/27 13:03:00 UTC

[jira] [Resolved] (IO-883) ByteArraySeekableByteChannel should optionally configure a read-only channel

     [ https://issues.apache.org/jira/browse/IO-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory resolved IO-883.
--------------------------------
    Fix Version/s: 2.22.0
       Resolution: Fixed

> ByteArraySeekableByteChannel should optionally configure a read-only channel
> ----------------------------------------------------------------------------
>
>                 Key: IO-883
>                 URL: https://issues.apache.org/jira/browse/IO-883
>             Project: Commons IO
>          Issue Type: Improvement
>    Affects Versions: 2.21.0
>            Reporter: Konrad Windszus
>            Assignee: Gary D. Gregory
>            Priority: Major
>             Fix For: 2.22.0
>
>         Attachments: SeekableReadOnlyByteChannel.patch
>
>
> In certain cases there should be no writes being performed through the SeekableByteChannel. Similar as for files it should be possible to wrap it as read-only and throw {{NonWritableChannelException}} for all operations trying to write to the wrapped array.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)