You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/08/28 10:42:23 UTC
[jira] Created: (HARMONY-1293) [classlib][luni]
java.util.ArrayList.addAll(int, Collection) behaves incorrectly
[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
[jira] Commented: (HARMONY-1293) [classlib][luni]
java.util.ArrayList.addAll(int, Collection) behaves incorrectly
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1293?page=comments#action_12431151 ]
Richard Liang commented on HARMONY-1293:
----------------------------------------
Thanks a lot, Paulex. The fix looks good.
Best regards,
Richard
> [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
> Assigned To: Paulex Yang
> Attachments: Harmony-1293.diff
>
>
> 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
[jira] Resolved: (HARMONY-1293) [classlib][luni]
java.util.ArrayList.addAll(int, Collection) behaves incorrectly
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1293?page=all ]
Paulex Yang resolved HARMONY-1293.
----------------------------------
Resolution: Fixed
Richard, patch applied at revision r437626, thanks a lot for this enhancement, please verify that the problem is fully fixed as you expected.
> [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
> Assigned To: Paulex Yang
> Attachments: Harmony-1293.diff
>
>
> 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
[jira] Assigned: (HARMONY-1293) [classlib][luni]
java.util.ArrayList.addAll(int, Collection) behaves incorrectly
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1293?page=all ]
Paulex Yang reassigned HARMONY-1293:
------------------------------------
Assignee: Paulex Yang
> [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
> Assigned To: Paulex Yang
> Attachments: Harmony-1293.diff
>
>
> 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
[jira] Closed: (HARMONY-1293) [classlib][luni]
java.util.ArrayList.addAll(int, Collection) behaves incorrectly
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1293?page=all ]
Paulex Yang closed HARMONY-1293.
--------------------------------
Verified by Richard.
> [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
> Assigned To: Paulex Yang
> Attachments: Harmony-1293.diff
>
>
> 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
[jira] Updated: (HARMONY-1293) [classlib][luni]
java.util.ArrayList.addAll(int, Collection) behaves incorrectly
Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1293?page=all ]
Richard Liang updated HARMONY-1293:
-----------------------------------
Attachment: Harmony-1293.diff
Hello,
Would you please try this patch? Thanks a lot.
Best regards,
Richard
> [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
> Attachments: Harmony-1293.diff
>
>
> 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