Integrated: 8371225: Missing release of GDK lock in Java_sun_awt_X11_GtkFileDialogPeer_run()

Alexander Zvegintsev azvegint at openjdk.org
Thu Nov 6 20:27:11 UTC 2025


On Thu, 6 Nov 2025 15:36:07 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

> The `Java_sun_awt_X11_GtkFileDialogPeer_run` JNI function does not call `gdk_threads_leave` for the corresponding `gdk_threads_enter` in 3 cases of early return.
> This simple change resolves the issue.
> 
> Testing looks good.

This pull request has now been integrated.

Changeset: 8a0c47d4
Author:    Alexander Zvegintsev <azvegint at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8a0c47d4ba4db523d94689b3ac347e9cd35183ce
Stats:     7 lines in 1 file changed: 4 ins; 2 del; 1 mod

8371225: Missing release of GDK lock in Java_sun_awt_X11_GtkFileDialogPeer_run()

Reviewed-by: aivanov, serb

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

PR: https://git.openjdk.org/jdk/pull/28177


More information about the client-libs-dev mailing list