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

        Hide
        Mark Hindess added a comment -

        Patch with test and fix.

        Show
        Mark Hindess added a comment - Patch with test and fix.
        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
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development