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).

This pull request has now been integrated.

Changeset: afc87f49
Author:    Alexander Zvegintsev <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/afc87f49795ed838d91d979fbef39c4530da10d5
Stats:     4 lines in 1 file changed: 2 ins; 2 del; 0 mod

8390545: java/awt/Mixing/AWT_Mixing/JPopupMenuOverlapping.java fails on OL9

Reviewed-by: psadhukhan, jdv

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

PR: https://git.openjdk.org/jdk/pull/32420

Reply via email to