harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2481) [classlib][archive]Memory access violation occurs in native hyzip.lib if Deflater.deflate() is called before Deflater.setInput()
Date Mon, 11 Dec 2006 01:47:23 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2481?page=comments#action_12457220 ] 
            
Leo Li commented on HARMONY-2481:
---------------------------------

Verified. Thank you.

> [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

        

Mime
View raw message