On Thu, 6 Feb 2025 20:43:54 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

> ## 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
> Postpone the animation unless running in the FX application thread.  There is 
> no functional difference if the component is created/used in the FX 
> application thread.

This pull request has now been integrated.

Changeset: d07d5cc6
Author:    Andy Goryachev <ango...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/d07d5cc684e68615fd0cec154a4e4c18810af1eb
Stats:     14 lines in 2 files changed: 6 ins; 6 del; 2 mod

8349105: Pagination: exception initializing in a background thread

Reviewed-by: kcr, mstrauss

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

PR: https://git.openjdk.org/jfx/pull/1698

Reply via email to