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

Make sure table row has correct number of cells

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: