You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Mortagne (JIRA)" <ji...@apache.org> on 2018/02/07 09:17:00 UTC

[jira] [Created] (IO-568) AutoCloseInputStream crash on reset() when reading the whole does not support InputStream#stream

Thomas Mortagne created IO-568:
----------------------------------

             Summary: AutoCloseInputStream crash on reset() when reading the whole does not support InputStream#stream
                 Key: IO-568
                 URL: https://issues.apache.org/jira/browse/IO-568
             Project: Commons IO
          Issue Type: Bug
          Components: Streams/Writers
    Affects Versions: 2.6
            Reporter: Thomas Mortagne
             Fix For: 2.7


If the the inputstream support mark it should switch back from ClosedInputStream to initial InputStream and call reset on it.

To reproduce:

{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)