On Wed, 22 Nov 2023 08:46:32 GMT, Prasanta Sadhukhan <[email protected]>
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