-
Bug
-
Resolution: Fixed
-
P2
-
8
-
Mac OS X 10.7.5; JDK 1.8.0 ea b90.
Changes to the public api in TableView.TableViewSelectionModel are not back compatible with previous releases. Specifically, the change in return type for getSelectedCells() and isSelected() break back compatibility. Additionally, the protected method getTableModel() has been removed entirely.
For an example, see https://github.com/james-d/Conditionally-selectable-table (which was also referenced in the OTN discussion at https://forums.oracle.com/forums/thread.jspa?threadID=2539110&tstart=0). This example compiles under JavaFX 2.2.7 and JDK 1.7.0_21, but will not compile under JavaFX 8.0 (JDK 1.8.0 ea b90). Additionally, and more importantly, the compiled code from JavaFX 2.2.7/JDK 1.7.0_21 runs under the same JDK, but fails to run under JDK 1.8.0 ea b90.
This is related toRT-29175
For an example, see https://github.com/james-d/Conditionally-selectable-table (which was also referenced in the OTN discussion at https://forums.oracle.com/forums/thread.jspa?threadID=2539110&tstart=0). This example compiles under JavaFX 2.2.7 and JDK 1.7.0_21, but will not compile under JavaFX 8.0 (JDK 1.8.0 ea b90). Additionally, and more importantly, the compiled code from JavaFX 2.2.7/JDK 1.7.0_21 runs under the same JDK, but fails to run under JDK 1.8.0 ea b90.
This is related to