RFR: 8273339: IOOBE with ListChangeListener added to the selectedItems list of a TableView [v3]

Jose Pereda jpereda at openjdk.java.net
Thu Feb 10 10:16:36 UTC 2022


> This PR converts the change's `from` field from a list of tablePositions into a list of selected indices of rows.
> 
> It includes two tests for TableView and one for TreeTableView (the second test wasn't included due to an [issue|https://bugs.openjdk.java.net/browse/JDK-8232825] with key navigation), that pass with this PR and fail without it.

Jose Pereda has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:

 - Merge branch 'master' into 8273339-changefrom
 - Apply change only when cell selection is enabled
 - Convert change from list of tablePosition to list of rows

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

Changes: https://git.openjdk.java.net/jfx/pull/710/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=710&range=02
  Stats: 148 lines in 5 files changed: 141 ins; 0 del; 7 mod
  Patch: https://git.openjdk.java.net/jfx/pull/710.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/710/head:pull/710

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


More information about the openjfx-dev mailing list