On Tue, 7 Apr 2026 18:54:20 GMT, Marius Hanl <[email protected]> wrote:
>> should we create a unit test for this exact scenario? > > You mean changing the `selectionModel` in the sorting policy? I do think this > is an edge case, but we could have a basic check for that probably. Before we > try to assign `newState`, we can check if the `selectionModel` is null and > return fast? I was thinking of a scenario when the table is sorted, then the selection model is set to null, then set back to the default, which upon closer inspection is not the case here. So we are good. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2131#discussion_r3047327484
