<AWT Dev> RFR: 8260616: Removing remaining JNF dependencies in the java.desktop module [v3]

Phil Race prr at openjdk.java.net
Tue Feb 2 22:31:47 UTC 2021

On Tue, 2 Feb 2021 22:02:14 GMT, Sergey Bylokhov <serb at 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

More information about the awt-dev mailing list