Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-266

Broken Sorting can result in AIOOB exception.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.3
    • Component/s: Math
    • Labels:
      None

      Description

      The sorting condition is checked too eagerly; probably a typo while porting from Harmony (all other sorting routines have similar pattern except this one).

        Attachments

        1. MAHOUT-266.patch
          2 kB
          Dawid Weiss
        2. AIOOBInSortingTest.java
          25 kB
          Dawid Weiss

          Activity

            People

            • Assignee:
              dawidweiss Dawid Weiss
              Reporter:
              dawidweiss Dawid Weiss
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: