You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2006/12/07 06:50:21 UTC

[jira] Created: (HARMONY-2508) [classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.

[classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.
---------------------------------------------------------------------------------------------------------

                 Key: HARMONY-2508
                 URL: http://issues.apache.org/jira/browse/HARMONY-2508
             Project: Harmony
          Issue Type: Bug
            Reporter: Leo Li


Here is a testcase:

public void test() throws Exception{
        Inflater inflater = new Inflater();
        byte[] b = new byte[1024];        
        assertEquals(0, inflater.inflate(b));
        inflater.end();    
}

RI passes.
Harmony fails.

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

        

[jira] Updated: (HARMONY-2508) [classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2508?page=all ]

Leo Li updated HARMONY-2508:
----------------------------

    Attachment: patch-2508.diff

Will somebody try this?

> [classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2508
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2508
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Attachments: patch-2508.diff
>
>
> Here is a testcase:
> public void test() throws Exception{
>         Inflater inflater = new Inflater();
>         byte[] b = new byte[1024];        
>         assertEquals(0, inflater.inflate(b));
>         inflater.end();    
> }
> RI passes.
> Harmony fails.

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

        

[jira] Assigned: (HARMONY-2508) [classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.

Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2508?page=all ]

Richard Liang reassigned HARMONY-2508:
--------------------------------------

    Assignee: Richard Liang

> [classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2508
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2508
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Assigned To: Richard Liang
>         Attachments: patch-2508.diff
>
>
> Here is a testcase:
> public void test() throws Exception{
>         Inflater inflater = new Inflater();
>         byte[] b = new byte[1024];        
>         assertEquals(0, inflater.inflate(b));
>         inflater.end();    
> }
> RI passes.
> Harmony fails.

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

        

[jira] Resolved: (HARMONY-2508) [classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.

Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2508?page=all ]

Richard Liang resolved HARMONY-2508.
------------------------------------

    Resolution: Fixed

Hello Leo,

The patch has been applied at revision r485530, thanks a lot for this enhancement. Please verify this issue has been fixed as you expected.

Best regards,
Richard

> [classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2508
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2508
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Assigned To: Richard Liang
>         Attachments: patch-2508.diff
>
>
> Here is a testcase:
> public void test() throws Exception{
>         Inflater inflater = new Inflater();
>         byte[] b = new byte[1024];        
>         assertEquals(0, inflater.inflate(b));
>         inflater.end();    
> }
> RI passes.
> Harmony fails.

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

        

[jira] Commented: (HARMONY-2508) [classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2508?page=comments#action_12457535 ] 
            
Leo Li commented on HARMONY-2508:
---------------------------------

Verified. Thank you.

> [classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2508
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2508
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Assigned To: Richard Liang
>         Attachments: patch-2508.diff
>
>
> Here is a testcase:
> public void test() throws Exception{
>         Inflater inflater = new Inflater();
>         byte[] b = new byte[1024];        
>         assertEquals(0, inflater.inflate(b));
>         inflater.end();    
> }
> RI passes.
> Harmony fails.

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

        

[jira] Closed: (HARMONY-2508) [classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.

Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2508?page=all ]

Richard Liang closed HARMONY-2508.
----------------------------------


Verified by Leo.

> [classlib][archive]Inflater.inflate throws DataFormatException if it needs input on Harmony while RI not.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2508
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2508
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Assigned To: Richard Liang
>         Attachments: patch-2508.diff
>
>
> Here is a testcase:
> public void test() throws Exception{
>         Inflater inflater = new Inflater();
>         byte[] b = new byte[1024];        
>         assertEquals(0, inflater.inflate(b));
>         inflater.end();    
> }
> RI passes.
> Harmony fails.

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