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

Make sure table row has correct number of cells

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 16
    • tools

      As shown by JDK-8256580 and JDK-8267219, the new grid-based Table class is quite susceptible to corruption by wrong numbers of table cells. There is currently no mechanism in place to make sure the arguments passed to the `addRow` methods have the correct number of cells. We should add a check for the correct number of cells and throw IllegalArgumentException in case of mismatch.

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: