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

TableCell.getTableRow should return a TableRow paramaterized with the type of the Table, like TreeTableCell does

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 9
    • 8u25, 8u40
    • javafx

      TableCell and TableRow are parameterized with the same type as the containing Table, but TableCell.getTableRow returns a raw TableRow. the corresponding method on TreeTableCell returns a correctly parameterized TreeTableRow. With only the raw TableRow, clients have to suppress the unchecked cast warning, even though it is clear what the type parameter should be.

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: