commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SANDBOX-298) BZip2CompressorInputStream.reportCRCError() does not report problems to user
Date Fri, 20 Mar 2009 15:06:50 GMT

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

Stefan Bodewig resolved SANDBOX-298.
------------------------------------

    Resolution: Fixed

svn revision 756508

> BZip2CompressorInputStream.reportCRCError()  does not report problems to user
> -----------------------------------------------------------------------------
>
>                 Key: SANDBOX-298
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-298
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: Compress
>            Reporter: Sebb
>         Attachments: patch-runcrcerror.txt
>
>
> BZip2CompressorInputStream.reportCRCError() merely writes an error message to System.err;
it should really throw an IOException as indicated in the method signature.
> The IOException message should probably show the expected and actual CRCs.
> Or at least the method should set a flag that can be tested by the caller.
> The code says it does this because "previous versions of the class did" - however this
does not apply, as there are no previous versions released.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message