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

        Mikhail Loenko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mikhail Loenko made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mikhail Loenko made changes -
        Assignee Mikhail Loenko [ mloenko ]
        Mark Hindess made changes -
        Field Original Value New Value
        Attachment fix.abstractlist.sublist.bounds.checking.diff [ 12325680 ]
        Mark Hindess created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development