RFR: 8361524: [XWayland] possible JavaFX interop hang
Kevin Rushforth
kcr at openjdk.org
Thu Jul 24 19:48:00 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.
LGTM
-------------
Marked as reviewed by kcr (Author).
PR Review: https://git.openjdk.org/jdk/pull/26172#pullrequestreview-3053062324
More information about the client-libs-dev
mailing list