Integrated: 8349105: Pagination: exception initializing in a background thread

Andy Goryachev angorya at openjdk.org
Fri Feb 14 21:57:20 UTC 2025


On Thu, 6 Feb 2025 20:43:54 GMT, Andy Goryachev <angorya at 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 <angorya at 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


More information about the openjfx-dev mailing list