RFR: 8361524: [XWayland] possible JavaFX interop hang
Prasanta Sadhukhan
psadhukhan at openjdk.org
Thu Jul 17 08:26:48 UTC 2025
On Mon, 7 Jul 2025 21:41:18 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:
> Callbacks in the `src/java.desktop/unix/native/libawt_xawt/awt/screencast_portal.c` file normally have the following pattern:
>
>
> helper->isDone = TRUE;
> callbackEnd();
> // return;
>
>
> Failing to call `callbackEnd()` could result in a hang if another GTK loop is running (e.g., JavaFX see https://github.com/openjdk/jdk/pull/22131#issue-2660482472).
>
> This fix corrects this flaw.
Marked as reviewed by psadhukhan (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/26172#pullrequestreview-3028469358
More information about the client-libs-dev
mailing list