On Mon, 13 Oct 2025 21:54:27 GMT, Harshitha Onkar <[email protected]> wrote:

> Test fails on the macOS 26 because test uses hardcoded location of menu item 
> to click, but on macOS 26 the menu bar is taller and robot misses the menu 
> item by couple of pixels. 
> 
> Fix : Screen insets is used to get the y location of menu item Instead of 
> using hardcoded value. 
> 
> Additionally test has been cleaned up and frames moved to the center of 
> screen to avoid menubar interactions.

This pull request has now been integrated.

Changeset: bbbb9c5f
Author:    Harshitha Onkar <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/bbbb9c5f1557cb1e80d72a820c034c71308cb3a2
Stats:     100 lines in 1 file changed: 37 ins; 27 del; 36 mod

8365423: [macos26] java/awt/MenuBar/8007006/bug8007006.java fails on macOS 26

Reviewed-by: kizune, prr

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

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

Reply via email to