Harmony
  1. Harmony
  2. HARMONY-390

AbstractList subList addAll puts elements in the wrong place

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None

      Description

      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.

        Activity

        Mark Hindess created issue -
        Hide
        Mark Hindess added a comment -

        Patch with test and fix.

        Show
        Mark Hindess added a comment - Patch with test and fix.
        Mark Hindess made changes -
        Field Original Value New Value
        Attachment fix.abstractlist.sublist.addall.diff [ 12325683 ]
        Mikhail Loenko made changes -
        Assignee Mikhail Loenko [ mloenko ]
        Hide
        Mikhail Loenko added a comment -

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

        Show
        Mikhail Loenko added a comment - fixed in revision 400049 Mark, please verify it resolves the problem
        Mikhail Loenko made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Mark Hindess added a comment -

        Looks good. Thanks Mikhail.

        Show
        Mark Hindess added a comment - Looks good. Thanks Mikhail.
        Hide
        Mikhail Loenko added a comment -

        verified by Mark

        Show
        Mikhail Loenko added a comment - verified by Mark
        Mikhail Loenko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        13d 16h 11m 1 Mikhail Loenko 05/May/06 19:15
        Resolved Resolved Closed Closed
        4d 22h 36m 1 Mikhail Loenko 10/May/06 17:51

          People

          • Assignee:
            Mikhail Loenko
            Reporter:
            Mark Hindess
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development