On Wed, 27 May 2026 19:44:36 GMT, Sergey Bylokhov <[email protected]> wrote:

>> I think that before 
>> [8384381](https://github.com/openjdk/jdk/commit/9be6e77d7346b732acfc5b604fdf046273a4e623#diff-6e0df721ca0d7af46fa0e7c13ae47c5d031eaf0e2514c74fbd0407e3a4921f79L234),
>>  the appContext was always created before any EventQueue was created, so 
>> this issue did not exist, and now it is here.
>
> might be solved by some synchronization or by different initialization order

> I think that before 
> [8384381](https://github.com/openjdk/jdk/commit/9be6e77d7346b732acfc5b604fdf046273a4e623#diff-6e0df721ca0d7af46fa0e7c13ae47c5d031eaf0e2514c74fbd0407e3a4921f79L234),
>  the appContext was always created before any EventQueue was created, so this 
> issue did not exist, and now it is here.

It is hard to tell how much of that was accident and how much of it was design.

I've made an update which ensures that the system event queue is initialized 
before push/pop enters
those blocks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31262#discussion_r3314710057

Reply via email to