You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/04/21 21:05:05 UTC

[jira] Created: (HARMONY-390) AbstractList subList addAll puts elements in the wrong place

AbstractList subList addAll puts elements in the wrong place
------------------------------------------------------------

         Key: HARMONY-390
         URL: http://issues.apache.org/jira/browse/HARMONY-390
     Project: Harmony
        Type: Bug

  Components: Classlib  
    Reporter: Mark Hindess
    Priority: Minor


Elements added to a list via a subList are added at the wrong place.  The sublist offset is ignored when the elements are added to the main list.


-- 
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-390) AbstractList subList addAll puts elements in the wrong place

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-390?page=all ]

Mark Hindess updated HARMONY-390:
---------------------------------

    Attachment: fix.abstractlist.sublist.addall.diff

Patch with test and fix.


> AbstractList subList addAll puts elements in the wrong place
> ------------------------------------------------------------
>
>          Key: HARMONY-390
>          URL: http://issues.apache.org/jira/browse/HARMONY-390
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Priority: Minor
>  Attachments: fix.abstractlist.sublist.addall.diff
>
> Elements added to a list via a subList are added at the wrong place.  The sublist offset is ignored when the elements are added to the main list.

-- 
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-390) AbstractList subList addAll puts elements in the wrong place

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-390?page=all ]

Mikhail Loenko reassigned HARMONY-390:
--------------------------------------

    Assign To: Mikhail Loenko

> AbstractList subList addAll puts elements in the wrong place
> ------------------------------------------------------------
>
>          Key: HARMONY-390
>          URL: http://issues.apache.org/jira/browse/HARMONY-390
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: fix.abstractlist.sublist.addall.diff
>
> Elements added to a list via a subList are added at the wrong place.  The sublist offset is ignored when the elements are added to the main list.

-- 
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-390) AbstractList subList addAll puts elements in the wrong place

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-390?page=all ]
     
Mikhail Loenko closed HARMONY-390:
----------------------------------


verified by Mark

> AbstractList subList addAll puts elements in the wrong place
> ------------------------------------------------------------
>
>          Key: HARMONY-390
>          URL: http://issues.apache.org/jira/browse/HARMONY-390
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: fix.abstractlist.sublist.addall.diff
>
> Elements added to a list via a subList are added at the wrong place.  The sublist offset is ignored when the elements are added to the main list.

-- 
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-390) AbstractList subList addAll puts elements in the wrong place

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-390?page=all ]
     
Mikhail Loenko resolved HARMONY-390:
------------------------------------

    Resolution: Fixed

fixed in revision 400049
Mark, please verify it resolves the problem

> AbstractList subList addAll puts elements in the wrong place
> ------------------------------------------------------------
>
>          Key: HARMONY-390
>          URL: http://issues.apache.org/jira/browse/HARMONY-390
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: fix.abstractlist.sublist.addall.diff
>
> Elements added to a list via a subList are added at the wrong place.  The sublist offset is ignored when the elements are added to the main list.

-- 
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-390) AbstractList subList addAll puts elements in the wrong place

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-390?page=comments#action_12378045 ] 

Mark Hindess commented on HARMONY-390:
--------------------------------------

Looks good.  Thanks Mikhail.

> AbstractList subList addAll puts elements in the wrong place
> ------------------------------------------------------------
>
>          Key: HARMONY-390
>          URL: http://issues.apache.org/jira/browse/HARMONY-390
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Assignee: Mikhail Loenko
>     Priority: Minor
>  Attachments: fix.abstractlist.sublist.addall.diff
>
> Elements added to a list via a subList are added at the wrong place.  The sublist offset is ignored when the elements are added to the main list.

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