<Swing Dev> [9] Review request for 8164321: Crash of SwingNode with GTK LaF
Alexander Zvegintsev
alexander.zvegintsev at oracle.com
Tue Oct 11 17:56:11 UTC 2016
+1
On 10/6/16 11:18 AM, Semyon Sadetsky wrote:
> Hello,
>
> Please review fix for JDK9:
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8164321
>
> webrev: http://cr.openjdk.java.net/~ssadetsky/8164321/webrev.00/
>
> The issue is caused by concurrent XLib access form FX and AWT toolkit
> threads in case of GTK3. To fix the issue wrapping by
> gdk_threads_enter/gdk_threads_leave is added to JDK GTK+ LnF GTK3
> implementation. Since FX GTK3 implementation uses
> gdk_threads_enter/gdk_threads_leave as well this will make GTK3 XLib
> calls serialized.
>
> --Semyon
>
--
Thanks,
Alexander.
More information about the swing-dev
mailing list