On Tue, 2 Feb 2021 22:02:14 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> I ran some tests embedding JavaFX into Swing and vice versa both with and 
>> without `-Djavafx.embed.singleThread=true` and I don't see any regression in 
>> behavior.
>
> I am mostly worried about the usage of JNF by someone else's native code, as 
> far as I understand it could be "broken" now. But it is good that FX does not 
> use it.
> 
> BTW looks like all comments like  "// AWT_THREADING Safe (AWTRunLoop)" could 
> be removed now.

SWT does not use JNF at all. I've looked at their source code.
I can clean up those comments.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2305

Reply via email to