RFR: 8349255: TitledPane: exception initializing in a background thread
Andy Goryachev
angorya at openjdk.org
Wed Feb 12 19:49:59 UTC 2025
On Wed, 12 Feb 2025 19:07:19 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> ## Root Cause
>
> Animation was started in the background thread, causing concurrent access.
>
> ## Solution
>
> Disable animation if not the fx app thread.
modules/javafx.graphics/src/main/java/javafx/scene/Node.java line 1442:
> 1440: // of this node, since visibility affects bounds of the
> 1441: // parent node
> 1442: p.childVisibilityChanged(Node.this);
it was a part of an earlier attempt, but I think this code is better.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1707#discussion_r1953255378
More information about the openjfx-dev
mailing list