harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sian January (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6204) [classlib][luni] java.util.IdentityHashMap.<init>(BigNumber) throws a NegativeArraySizeException while RI throws OutOfMemoryError
Date Fri, 15 May 2009 09:12:45 GMT

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

Sian January resolved HARMONY-6204.
-----------------------------------

    Resolution: Fixed

Thanks Kevin - patch applied at r775060.  I changed two of the words in the comment for grammatical
correctness, but the meaning should still be the same.  Apart from that please check that
it was applied as you expected.

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


Mime
View raw message