RFR: 8348100: Tooltips cannot be instantiated on background thread [v3]
Kevin Rushforth
kcr at openjdk.org
Fri Feb 7 19:19:53 UTC 2025
On Fri, 7 Feb 2025 19:16:48 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> ## Root Cause
>> navigating up the parent hierarchy during CSS processing in a background thread encounters a null parent, causing the NPE. The null parent comes from a static Toolkit.BEHAVIOR field.
>>
>> ## Solution
>> avoid that code path if not in the fx application thread.
>
> Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:
>
> behavior
Looks good now. I confirm that the new test fails reliably without the fix and passes with the fix.
-------------
Marked as reviewed by kcr (Lead).
PR Review: https://git.openjdk.org/jfx/pull/1696#pullrequestreview-2602617890
More information about the openjfx-dev
mailing list