You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/12/07 08:50:23 UTC
[jira] Resolved: (HARMONY-2481) [classlib][archive]Memory access
violation occurs in native hyzip.lib if Deflater.deflate() is called before
Deflater.setInput()
[ http://issues.apache.org/jira/browse/HARMONY-2481?page=all ]
Richard Liang resolved HARMONY-2481.
------------------------------------
Resolution: Fixed
Hello Leo,
The patch has been applied at revision r483368, thanks a lot for this enhancement. Would you please verify that the problems is fully fixed as you expected.
Best regards,
Richard
> [classlib][archive]Memory access violation occurs in native hyzip.lib if Deflater.deflate() is called before Deflater.setInput()
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2481
> URL: http://issues.apache.org/jira/browse/HARMONY-2481
> Project: Harmony
> Issue Type: Bug
> Reporter: Leo Li
> Assigned To: Richard Liang
> Attachments: patch-2481.diff
>
>
> Here is the testcase:
> public void test() {
> Deflater deflater = new Deflater();
> deflater.finish();
> byte[] buffer = new byte[1024];
> assertEquals(8, deflater.deflate(buffer));
> }
> RI passes.
> Harmony fails.(Sometimes with VM crash.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira