Harmony
  1. Harmony
  2. HARMONY-389

AbstractList subList bounds checking is wrong

    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

      The bounds checking on the AbstractList subList is wrong. It checks <= size instead of < size.
      Will attach a patch.

        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 400041
        Mark, please verify that it fully resolves the issue

        Show
        Mikhail Loenko added a comment - fixed in revision 400041 Mark, please verify that it fully resolves the issue
        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