On Mon, 14 Jul 2025 17:00:35 GMT, Anass Baya <ab...@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 This pull request has now been integrated. Changeset: bdc39818 Author: Anass Baya <ab...@openjdk.org> Committer: Sergey Bylokhov <s...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/bdc39818ce7b3c3bad10f4682a2a52fbb696f247 Stats: 8 lines in 3 files changed: 4 ins; 3 del; 1 mod 8361521: BogusFocusableWindowState.java fails with StackOverflowError on Linux Reviewed-by: aivanov, serb ------------- PR: https://git.openjdk.org/jdk/pull/26298