harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6350) [archive] InflaterOutputStream.write(-1) should throw ZipException
Date Mon, 12 Oct 2009 07:02:31 GMT

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

Mark Hindess resolved HARMONY-6350.
-----------------------------------

    Resolution: Won't Fix

Closing as non-bug difference.  See:

  http://markmail.org/thread/3y6ecxja4shjmwxl

for justification.

Failing test removed in r824241.


> [archive] InflaterOutputStream.write(-1) should throw ZipException
> ------------------------------------------------------------------
>
>                 Key: HARMONY-6350
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6350
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Mark Hindess
>            Assignee: Mark Hindess
>            Priority: Minor
>
> The optimizations applied in HARMONY-6346 mean that the behaviour of inflating a single
-1 byte has changed.  This can be reproduced with:
>             int inflated = 0;
>             byte[] buf = new byte[1024];
>             Inflater inf = new Inflater();
>             inf.setInput(new byte[] { (byte) -1 }, 0, 1);
>             inflated = inf.inflate(buf);
> which throws "java.util.zip.DataFormatException: unknown compression method" on the RI
but no exception on Harmony.

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