On Tue, 18 Aug 2026 15:23:34 GMT, Alexander Zvegintsev <[email protected]> wrote:
> Fixes a timing issue in `JPopupMenuOverlapping`. > > The test previously cached the content pane screen location immediately after > showing the frame. > This may not work correctly with every Linux window manager, as multiple > `ConfigureNotify` events may be delivered while the window geometry is being > settled. > > The location is now obtained in `performTest()`, after the window has settled: > > https://github.com/openjdk/jdk/blob/8a507d85e9b7c7a0acfd7fa72b898b9a9ce2d5ee/test/jdk/java/awt/Mixing/AWT_Mixing/OverlappingTestBase.java#L496-L504 > > Testing looks good. > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). Verified the test locally on OL9.8 system. Without fix the test fails because it can't select the MenuItem when it hits one of the iterations. With fix all iterations pass with MenuItem getting selected. LGTM. ------------- Marked as reviewed by jdv (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/32420#pullrequestreview-4990320235
