I have created a table view in javafx for my custom object. I have enabled multiple selection in the code by doing: table.getSelectionModel().setSelectionMode(Selecti
table.getSelectionModel().setSelectionMode(Selecti
Apparently it's a bug, already fixed for version 9 (and also 8u112, if I understand correctly): https://bugs.openjdk.java.net/browse/JDK-8144501
A workaround for now is to use getSelectedIndices(), then get the items corresponding to these instances from table.getItems()
getSelectedIndices()
table.getItems()