You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jonas Sjölund (Jira)" <ji...@apache.org> on 2020/05/12 01:51:00 UTC
[jira] [Updated] (COMPRESS-128) Should close() methods check for
System.in before calling close?
[ https://issues.apache.org/jira/browse/COMPRESS-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonas Sjölund updated COMPRESS-128:
------------------------------------
Attachment: Analyst-Group-Invajo.pdf
> 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
> Priority: Major
> Labels: API, breaking_change
> Fix For: 2.0
>
> Attachments: Analyst-Group-Invajo.pdf
>
>
> 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 was sent by Atlassian Jira
(v8.3.4#803005)