RFR: 8349098: TabPane: exception initializing in a background thread [v2]
Andy Goryachev
angorya at openjdk.org
Fri Feb 7 18:42:01 UTC 2025
> ## Root Cause
> Animation gets started in a background thread, which causes the animation handler to run in the FX application thread, thus creating simultaneous access to the control's fields (list of children in this case).
>
> ## Solution
> Skip the animation.
>
> The fix is similar to https://github.com/openjdk/jfx/pull/1698
Andy Goryachev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
- Merge branch 'master' into 8349098.thread.safe.tabpane
- skip animation
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/1699/files
- new: https://git.openjdk.org/jfx/pull/1699/files/46d7be12..40b9a23c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=1699&range=01
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=1699&range=00-01
Stats: 426 lines in 5 files changed: 210 ins; 85 del; 131 mod
Patch: https://git.openjdk.org/jfx/pull/1699.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1699/head:pull/1699
PR: https://git.openjdk.org/jfx/pull/1699
More information about the openjfx-dev
mailing list