RFR: 8320057: [macos14] javax/swing/JToolTip/4846413/bug4846413.java: Tooltip has not been found!
Harshitha Onkar
honkar at openjdk.org
Thu Nov 23 00:26:06 UTC 2023
On Wed, 22 Nov 2023 08:46:32 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> Test failing on macos14 citing "ToolTip not found"...Investigation shows that the mouse is not moved when invoked 1st time to desired location on screen causing tooltip to not show...However, subsequent runs of the same test without any change causes it to pass every time.
> Workaround is proposed to check if running on 14.x, then invoke a dummy mouse movement to same location which causes the test to pass for several iterations in macos14 environment.
test/jdk/javax/swing/JToolTip/4846413/bug4846413.java line 79:
> 77: String version = System.getProperty("os.version", "");
> 78: if (version.startsWith("14.")) {
> 79: robot.mouseMove(movePoint.x, movePoint.y);
Adding to Phil's point, version specific test fixes would require to be removed and/or reworked if the issue gets fixed on latest macOS update.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16776#discussion_r1402819149
More information about the client-libs-dev
mailing list