RFR: 8138842: TableViewSelectionModel.selectIndices does not select index 0

Andy Goryachev angorya at openjdk.org
Tue Jan 31 16:00:37 UTC 2023


On Tue, 31 Jan 2023 14:40:00 GMT, Karthik P K <kpk at openjdk.org> wrote:

> In `selectIndices` method, zero length array is not considered while ignoring row number given as parameter.
> 
> Updated the code to consider both null and zero length array in the condition before ignoring the row value given as parameter.
> 
> Added unit test to validate the fix

I wonder if there are other places like this elsewhere in the code.
This change looks good.

-------------

Marked as reviewed by angorya (Committer).

PR: https://git.openjdk.org/jfx/pull/1018


More information about the openjfx-dev mailing list