Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6438421

DefaultRowSorter.rowsUpdates(int,int,int) doesn't do bounds checking on the last argument.

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b90
    • CPU:
      generic
    • OS:
      generic

      Description

      DefaultRowSorter.rowsUpdates(int,int,int) doesn't do bounds checking on the last argument.
      JCK test api/javax_swing/DefaultRowSorter/index.html#ModelStructChanged[rowsUpdated2005] fail.
      --------out1:(18/650)----------
      rowsInserted2001: Passed. OK
      rowsInserted2002: Passed. OK
      rowsDeleted2001: Passed. OK
      rowsDeleted2002: Passed. OK
      rowsUpdated2001: Passed. OK
      rowsUpdated2002: Passed. OK
      rowsUpdated2003: Passed. OK
      rowsUpdated2004: Passed. OK
      rowsUpdated2005: Failed. rowsUpdated(int, int, int) should throw exception when column is outside the range
      rowsInserted2003: Passed. OK
      rowsDeleted2003: Passed. OK
      modelStructureChanged2001: Passed. OK
      modelStructureChanged2002: Passed. OK
      modelStructureChanged2003: Passed. OK
      modelStructureChanged2004: Passed. OK
      modelStructureChanged2005: Passed. OK
      defaultComparators2001: Passed. OK
      defaultSortOrders2001: Passed. OK
      ----------out2:(111/2938)----------
      Executing command via jctjck20,port=46167,localport=42558
      rs.rowsUpdated(0,1,-2147483648)
      rs.rowsUpdated(0,1,-2147483647)
      rs.rowsUpdated(0,1,-800)
      rs.rowsUpdated(0,1,-5)
      rs.rowsUpdated(0,1,-1)
      rs.rowsUpdated(0,1,3)
      rs.rowsUpdated(0,1,4)
      rs.rowsUpdated(0,1,10)
      rs.rowsUpdated(0,1,700)
      rs.rowsUpdated(0,1,2147483646)
      rs.rowsUpdated(0,1,2147483647)
      rs.rowsUpdated(0,2,-2147483648)
      rs.rowsUpdated(0,2,-2147483647)
      rs.rowsUpdated(0,2,-800)
      rs.rowsUpdated(0,2,-5)
      rs.rowsUpdated(0,2,-1)
      rs.rowsUpdated(0,2,3)
      rs.rowsUpdated(0,2,4)
      rs.rowsUpdated(0,2,10)
      rs.rowsUpdated(0,2,700)
      rs.rowsUpdated(0,2,2147483646)
      rs.rowsUpdated(0,2,2147483647)
      rs.rowsUpdated(1,2,-2147483648)
      rs.rowsUpdated(1,2,-2147483647)
      rs.rowsUpdated(1,2,-800)
      rs.rowsUpdated(1,2,-5)
      rs.rowsUpdated(1,2,-1)
      rs.rowsUpdated(1,2,3)
      rs.rowsUpdated(1,2,4)
      rs.rowsUpdated(1,2,10)
      rs.rowsUpdated(1,2,700)
      rs.rowsUpdated(1,2,2147483646)
      rs.rowsUpdated(1,2,2147483647)
      rs.rowsUpdated(0,3,-2147483648)
      rs.rowsUpdated(0,3,-2147483647)
      rs.rowsUpdated(0,3,-800)
      rs.rowsUpdated(0,3,-5)
      rs.rowsUpdated(0,3,-1)
      rs.rowsUpdated(0,3,3)
      rs.rowsUpdated(0,3,4)
      rs.rowsUpdated(0,3,10)
      rs.rowsUpdated(0,3,700)
      rs.rowsUpdated(0,3,2147483646)
      rs.rowsUpdated(0,3,2147483647)
      rs.rowsUpdated(1,3,-2147483648)
      rs.rowsUpdated(1,3,-2147483647)
      rs.rowsUpdated(1,3,-800)
      rs.rowsUpdated(1,3,-5)
      rs.rowsUpdated(1,3,-1)
      rs.rowsUpdated(1,3,3)
      rs.rowsUpdated(1,3,4)
      rs.rowsUpdated(1,3,10)
      rs.rowsUpdated(1,3,700)
      rs.rowsUpdated(1,3,2147483646)
      rs.rowsUpdated(1,3,2147483647)
      rs.rowsUpdated(2,3,-2147483648)
      rs.rowsUpdated(2,3,-2147483647)
      rs.rowsUpdated(2,3,-800)
      rs.rowsUpdated(2,3,-5)
      rs.rowsUpdated(2,3,-1)
      rs.rowsUpdated(2,3,3)
      rs.rowsUpdated(2,3,4)
      rs.rowsUpdated(2,3,10)
      rs.rowsUpdated(2,3,700)
      rs.rowsUpdated(2,3,2147483646)
      rs.rowsUpdated(2,3,2147483647)
      rs.rowsUpdated(0,4,-2147483648)
      rs.rowsUpdated(0,4,-2147483647)
      rs.rowsUpdated(0,4,-800)
      rs.rowsUpdated(0,4,-5)
      rs.rowsUpdated(0,4,-1)
      rs.rowsUpdated(0,4,3)
      rs.rowsUpdated(0,4,4)
      rs.rowsUpdated(0,4,10)
      rs.rowsUpdated(0,4,700)
      rs.rowsUpdated(0,4,2147483646)
      rs.rowsUpdated(0,4,2147483647)
      rs.rowsUpdated(1,4,-2147483648)
      rs.rowsUpdated(1,4,-2147483647)
      rs.rowsUpdated(1,4,-800)
      rs.rowsUpdated(1,4,-5)
      rs.rowsUpdated(1,4,-1)
      rs.rowsUpdated(1,4,3)
      rs.rowsUpdated(1,4,4)
      rs.rowsUpdated(1,4,10)
      rs.rowsUpdated(1,4,700)
      rs.rowsUpdated(1,4,2147483646)
      rs.rowsUpdated(1,4,2147483647)
      rs.rowsUpdated(2,4,-2147483648)
      rs.rowsUpdated(2,4,-2147483647)
      rs.rowsUpdated(2,4,-800)
      rs.rowsUpdated(2,4,-5)
      rs.rowsUpdated(2,4,-1)
      rs.rowsUpdated(2,4,3)
      rs.rowsUpdated(2,4,4)
      rs.rowsUpdated(2,4,10)
      rs.rowsUpdated(2,4,700)
      rs.rowsUpdated(2,4,2147483646)
      rs.rowsUpdated(2,4,2147483647)
      rs.rowsUpdated(3,4,-2147483648)
      rs.rowsUpdated(3,4,-2147483647)
      rs.rowsUpdated(3,4,-800)
      rs.rowsUpdated(3,4,-5)
      rs.rowsUpdated(3,4,-1)
      rs.rowsUpdated(3,4,3)
      rs.rowsUpdated(3,4,4)
      rs.rowsUpdated(3,4,10)
      rs.rowsUpdated(3,4,700)
      rs.rowsUpdated(3,4,2147483646)
      rs.rowsUpdated(3,4,2147483647)

        Attachments

          Activity

            People

            Assignee:
            svioletsunw Scott Violet (Inactive)
            Reporter:
            ynovozhi Yulia Novozhilova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: