harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1293) [classlib][luni] java.util.ArrayList.addAll(int, Collection) behaves incorrectly
Date Mon, 28 Aug 2006 08:42:23 GMT
[classlib][luni] java.util.ArrayList.addAll(int, Collection) behaves incorrectly
--------------------------------------------------------------------------------

                 Key: HARMONY-1293
                 URL: http://issues.apache.org/jira/browse/HARMONY-1293
             Project: Harmony
          Issue Type: Bug
          Components: App-Oriented Bug Reports
            Reporter: Richard Liang


Hello,

This bug is found through XMLBeans self-hosting test.  

To reproduce the bug:
1) Create a ArrayList
2) Add 2 elements to this list
3) Remove the first on by calling list.remove(0)
4) call list.addAll(0, collection)

the size of the list is wrong.


I will attach a patch to fix this issue.

Best regards,
Richard

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

        

Mime
View raw message