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

Alexander Zuev kizune at openjdk.org
Tue Oct 14 00:59:11 UTC 2025


On Mon, 13 Oct 2025 21:54:27 GMT, Harshitha Onkar <honkar at openjdk.org> 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.

LGTM

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

Marked as reviewed by kizune (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27776#pullrequestreview-3333531452


More information about the client-libs-dev mailing list