Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v6]

2025-08-28 Thread duke
On Thu, 28 Aug 2025 07:53:29 GMT, Anass Baya 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 al

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v6]

2025-08-28 Thread Alexey Ivanov
On Thu, 28 Aug 2025 07:53:29 GMT, Anass Baya 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 al

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v6]

2025-08-28 Thread Anass Baya
> **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 th

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v5]

2025-08-28 Thread Anass Baya
On Wed, 27 Aug 2025 18:34:05 GMT, Alexey Ivanov wrote: >> Anass Baya has updated the pull request incrementally with one additional >> commit since the last revision: >> >> add space > > src/java.desktop/unix/classes/sun/awt/X11/XWindowPeer.java line 1105: > >> 1103: } >> 1104:

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v5]

2025-08-27 Thread Alexey Ivanov
On Wed, 20 Aug 2025 05:05:20 GMT, Anass Baya 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 al

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v5]

2025-08-25 Thread duke
On Wed, 20 Aug 2025 05:05:20 GMT, Anass Baya 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 al

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v5]

2025-08-25 Thread Anass Baya
On Tue, 26 Aug 2025 00:52:17 GMT, Sergey Bylokhov wrote: > looks fine, please confirm that all tests are green. Yes, the tests pass with the proposed fix - PR Comment: https://git.openjdk.org/jdk/pull/26298#issuecomment-3222628788

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v5]

2025-08-25 Thread Sergey Bylokhov
On Wed, 20 Aug 2025 05:05:20 GMT, Anass Baya 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 al

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v5]

2025-08-19 Thread Anass Baya
> **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 th

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v4]

2025-08-19 Thread Anass Baya
On Wed, 20 Aug 2025 03:33:32 GMT, Sergey Bylokhov wrote: >> Anass Baya has updated the pull request incrementally with three additional >> commits since the last revision: >> >> - Respect rules >> - remove space >> - Update focusability only when it is needed > > src/java.desktop/unix/classe

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v4]

2025-08-19 Thread Sergey Bylokhov
On Fri, 8 Aug 2025 00:30:25 GMT, Anass Baya 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 all

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux

2025-08-18 Thread Anass Baya
On Tue, 15 Jul 2025 19:52:15 GMT, Alisen Chung 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

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v3]

2025-08-07 Thread Anass Baya
On Thu, 31 Jul 2025 14:21:33 GMT, Anass Baya 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 al

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v4]

2025-08-07 Thread Anass Baya
> **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 th

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux

2025-07-31 Thread Anass Baya
On Tue, 15 Jul 2025 02:52:54 GMT, Sergey Bylokhov wrote: > I do not think this is a bug in the test, the jdk should survive this. Hello @mrserb, Thank you for your reivew. To ensure Linux survives that, I think we need to avoid updating focusability when it is not necessary. --- XWindowPeer.j

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v3]

2025-07-31 Thread Anass Baya
> **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 th

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux [v2]

2025-07-31 Thread Anass Baya
> **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 th

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux

2025-07-21 Thread Anass Baya
On Tue, 15 Jul 2025 19:52:15 GMT, Alisen Chung wrote: > > The getFocusableWindowState() method is not intended to modify the > > configuration; doing so can cause recursive re-entry on Linux. > > What's causing the recursive re-entry? Is the bug in the code path in linux > when calling getFocu

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux

2025-07-15 Thread Alisen Chung
On Mon, 14 Jul 2025 17:00:35 GMT, Anass Baya wrote: > The getFocusableWindowState() method is not intended to modify the > configuration; doing so can cause recursive re-entry on Linux. What's causing the recursive re-entry? Is the bug in the code path in linux when calling getFocusableWindowS

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux

2025-07-14 Thread Sergey Bylokhov
On Mon, 14 Jul 2025 17:00:35 GMT, Anass Baya 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

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux

2025-07-14 Thread Anass Baya
On Mon, 14 Jul 2025 21:47:10 GMT, Alisen Chung 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

Re: RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux

2025-07-14 Thread Alisen Chung
On Mon, 14 Jul 2025 17:00:35 GMT, Anass Baya 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

RFR: 8361521 : BogusFocusableWindowState.java fails with StackOverflowError on Linux

2025-07-14 Thread Anass Baya
**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 get