You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/03/23 12:01:06 UTC

[jira] [Created] (COMPRESS-128) Should close() methods check for System.in before calling close?

Should close() methods check for System.in before calling close?
----------------------------------------------------------------

                 Key: COMPRESS-128
                 URL: https://issues.apache.org/jira/browse/COMPRESS-128
             Project: Commons Compress
          Issue Type: Improvement
            Reporter: Sebb


The BZip2CompressorInput close method checks whether the input is equal to System.in and skips the close call if so.

Should this be applied to all the ArchiveInput classes as well?

Probably does no harm.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (COMPRESS-128) Should close() methods check for System.in before calling close?

Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COMPRESS-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig updated COMPRESS-128:
------------------------------------

    Fix Version/s:     (was: 1.2)
                   2.0

> Should close() methods check for System.in before calling close?
> ----------------------------------------------------------------
>
>                 Key: COMPRESS-128
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-128
>             Project: Commons Compress
>          Issue Type: Improvement
>            Reporter: Sebb
>             Fix For: 2.0
>
>
> The BZip2CompressorInput close method checks whether the input is equal to System.in and skips the close call if so.
> Should this be applied to all the ArchiveInput classes as well?
> Probably does no harm.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (COMPRESS-128) Should close() methods check for System.in before calling close?

Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COMPRESS-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig updated COMPRESS-128:
------------------------------------

    Fix Version/s: 1.2

See http://markmail.org/message/uz3cn2w2zzy6ucxf

> Should close() methods check for System.in before calling close?
> ----------------------------------------------------------------
>
>                 Key: COMPRESS-128
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-128
>             Project: Commons Compress
>          Issue Type: Improvement
>            Reporter: Sebb
>             Fix For: 1.2
>
>
> The BZip2CompressorInput close method checks whether the input is equal to System.in and skips the close call if so.
> Should this be applied to all the ArchiveInput classes as well?
> Probably does no harm.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira