harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Zhou (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6204) [classlib][luni] java.util.IdentityHashMap.<init>(BigNumber) throws a NegativeArraySizeException while RI throws OutOfMemoryError
Date Tue, 12 May 2009 05:45:45 GMT
[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
             Fix For: 5.0M10


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