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

Gary D. Gregory resolved IO-799.
--------------------------------
    Fix Version/s: 2.13.1
         Assignee: Gary D. Gregory
       Resolution: Fixed

> [ReaderInputStream] Repeated calls to read() while EOF should keep returning 
> -1
> -------------------------------------------------------------------------------
>
>                 Key: IO-799
>                 URL: https://issues.apache.org/jira/browse/IO-799
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Streams/Writers
>    Affects Versions: 2.12.0
>         Environment: Ubuntu x64, Java 11.
>            Reporter: jeroen
>            Assignee: Gary D. Gregory
>            Priority: Major
>             Fix For: 2.13.1
>
>
> Once a ReaderInputStream reaches the end of the input, it only returns -1 
> once. Subsequent calls to read() throw an IllegalStateException. This 
> undocumented and unexpected.



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

Reply via email to