RFR: 8138842: TableViewSelectionModel.selectIndices does not select index 0 [v2]

Nir Lisker nlisker at openjdk.org
Wed Feb 1 12:30:00 UTC 2023


On Wed, 1 Feb 2023 09:17:33 GMT, Karthik P K <kpk at openjdk.org> wrote:

>> I think it is also pretty clear the original author intended to check `rows.length == 0` and made the mistake that it would be called with `rows == null` when there are no further indices specified, which is incorrect.
>
> I believe no code change is required as of now. Hence not making any changes now.

I also think that `null` should throw unless otherwise specified.

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

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


More information about the openjfx-dev mailing list