RFR: 8255248: NullPointerException in JFXPanel due to race condition in HostContainer [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Mon Jul 24 07:02:03 UTC 2023
On Fri, 21 Jul 2023 18:17:20 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
> > The key word is **if done correctly**. One thing to look for is the possibility of introducing a deadlock and regression, so we may need to analyze the callers and perform more extensive testing.
>
> That is exactly my concern. It would need a lot more very careful analysis before making this synchronous.
I guess if we have to make all public methods in JFXPanel synchronous, then the same might be called for SwingNode too, ..
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1178#issuecomment-1647320399
More information about the openjfx-dev
mailing list