RFR: 8349098: TabPane: exception initializing in a background thread
Andy Goryachev
angorya at openjdk.org
Thu Feb 6 23:32:25 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
-------------
Commit messages:
- skip animation
Changes: https://git.openjdk.org/jfx/pull/1699/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1699&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8349098
Stats: 18 lines in 2 files changed: 2 ins; 5 del; 11 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