RFR: 8194924: Checking for selection size before update

Kevin Rushforth kcr at openjdk.java.net
Mon Jun 28 22:06:05 UTC 2021


On Thu, 24 Jun 2021 11:29:23 GMT, Alexander Shaklein <github.com+26318329+cheesterx3 at openjdk.org> wrote:

> It is possible situation when `clearSelection()` is invoked during `onChange()` notify. In such case `selectedCellsSeq` is clearing and possible `IndexOutOfBoundsException` on `GenericAddRemoveChange` creation. 
> So we should check it to create correct `GenericAddRemoveChange`.

As mentioned above, and also in the JBS issue, it is likely that we will close the bug as "not an issue", in which case this PR should be closed (withdrawn).

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

PR: https://git.openjdk.java.net/jfx/pull/542


More information about the openjfx-dev mailing list