Re: RFR: 8348100: Tooltips cannot be instantiated on background thread [v3]

2025-02-09 Thread Michael Strauß
On Fri, 7 Feb 2025 19:19:53 GMT, Andy Goryachev 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 th

Re: RFR: 8348100: Tooltips cannot be instantiated on background thread [v3]

2025-02-07 Thread Kevin Rushforth
On Fri, 7 Feb 2025 19:16:48 GMT, Andy Goryachev 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 th

Re: RFR: 8348100: Tooltips cannot be instantiated on background thread [v3]

2025-02-07 Thread Andy Goryachev
> ## 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 Goryache

Re: RFR: 8348100: Tooltips cannot be instantiated on background thread [v2]

2025-02-07 Thread Andy Goryachev
> Navigating up the parent hierarchy during CSS processing in a background > thread encounters a null parent, causing a NPE. Andy Goryachev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 18 commits: - Merge branch 'master' into 834

Re: RFR: 8348100: Tooltips cannot be instantiated on background thread

2025-02-07 Thread Kevin Rushforth
On Thu, 6 Feb 2025 18:35:06 GMT, Andy Goryachev wrote: > Navigating up the parent hierarchy during CSS processing in a background > thread encounters a null parent, causing a NPE. I think the root cause of the problem is in `Tooltip::getStyleableParent`, which does not return a stable result w