On Mon, 7 Jul 2025 21:41:18 GMT, Alexander Zvegintsev <[email protected]> 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. This pull request has now been integrated. Changeset: 05c63e80 Author: Alexander Zvegintsev <[email protected]> URL: https://git.openjdk.org/jdk/commit/05c63e80091d554625c5b6fc8c9f6973ef19ec4f Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod 8361524: [XWayland] possible JavaFX interop hang Reviewed-by: psadhukhan, serb, prr, kizune, kcr ------------- PR: https://git.openjdk.org/jdk/pull/26172
