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

Karthik P K kpk at openjdk.org
Mon Feb 6 08:28:05 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

This pull request has now been integrated.

Changeset: ef9f0664
Author:    Karthik P K <kpk at openjdk.org>
Committer: Ajit Ghaisas <aghaisas at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/ef9f0664484f7a3c2a9ebfbd81e1d23ef65218ed
Stats:     37 lines in 4 files changed: 35 ins; 0 del; 2 mod

8138842: TableViewSelectionModel.selectIndices does not select index 0

Reviewed-by: angorya, aghaisas

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

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


More information about the openjfx-dev mailing list