RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v5]
duke
duke at openjdk.org
Tue Aug 26 05:05:41 UTC 2025
On Wed, 20 Aug 2025 05:05:20 GMT, Anass Baya <abaya at openjdk.org> wrote:
>> **Analysis:**
>> The getFocusableWindowState() method is not intended to modify the configuration; doing so can cause recursive re-entry on Linux.
>>
>> **Proposed Fix:**
>> We are intentionally overriding getFocusableWindowState() to allow it to change the configuration, in order to verify that calling getScreenImOn() for ownerless windows does not throw any exceptions.
>> To prevent recursive re-entry, we use a flag to ensure that getFocusableWindowState() is executed only once
>
> Anass Baya has updated the pull request incrementally with one additional commit since the last revision:
>
> add space
@anass-baya
Your change (at version 3e893a08c5d2ce47cc47671300f857a7986766c2) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26298#issuecomment-3222631245
More information about the client-libs-dev
mailing list