RFR: 8187145: (Tree)TableView with null selectionModel: throws NPE on sorting [v5]
Andy Goryachev
angorya at openjdk.org
Fri Nov 4 15:59:47 UTC 2022
On Fri, 4 Nov 2022 11:45:06 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> same comment, there is a fall through.
>
> No, there isn't.
this is embarrassing - you are right. the only fall through case is on line 169, but it's clearly wrong, as it should not be falling through to CELL_AT_ROW_COLUMN.
in the case of a null selection model, should queryAccessibleAttribute(SELECTED_ITEMS) return null or an empty list?
-------------
PR: https://git.openjdk.org/jfx/pull/876
More information about the openjfx-dev
mailing list