jeroen created IO-799:
-------------------------

             Summary: [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


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