You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Kevin Zhou (JIRA)" <ji...@apache.org> on 2009/05/15 11:46:46 UTC
[jira] Closed: (HARMONY-6204) [classlib][luni]
java.util.IdentityHashMap.(BigNumber) throws a
NegativeArraySizeException while RI throws OutOfMemoryError
[ https://issues.apache.org/jira/browse/HARMONY-6204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Zhou closed HARMONY-6204.
-------------------------------
Thanks, Sian.
> [classlib][luni] java.util.IdentityHashMap.<init>(BigNumber) throws a NegativeArraySizeException while RI throws OutOfMemoryError
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-6204
> URL: https://issues.apache.org/jira/browse/HARMONY-6204
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Affects Versions: 5.0M9
> Reporter: Kevin Zhou
> Assignee: Sian January
> Fix For: 5.0M10
>
> Attachments: HARMONY-6204.diff, HARMONY-6204v2.diff
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Initialize an IdentityHashMap object using a given big integer as [1], HARMONY throws a java.lang.NegativeArraySizeException while RI throws a java.lang.OutOfMemoryError.
> [1] Test Case
> public void test_IdentityHashMap_Constructor_BigSize() {
> new IdentityHashMap(1470164594);
> }
> [2] Stack Trace:
> java.lang.NegativeArraySizeException
> at java.util.IdentityHashMap.newElementArray(IdentityHashMap.java:279)
> at java.util.IdentityHashMap.<init>(IdentityHashMap.java:255)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.