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 ------------- Commit messages: - TableView row selection issue fix Changes: https://git.openjdk.org/jfx/pull/1018/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1018&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8138842 Stats: 15 lines in 2 files changed: 14 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jfx/pull/1018.diff Fetch: git fetch https://git.openjdk.org/jfx pull/1018/head:pull/1018 PR: https://git.openjdk.org/jfx/pull/1018