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

Nir Lisker nlisker at openjdk.org
Tue Jan 31 20:06:03 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

`TreeTableView` has the same problem.

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

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


More information about the openjfx-dev mailing list