RFR: 8320057: [macos14] javax/swing/JToolTip/4846413/bug4846413.java: Tooltip has not been found!

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Nov 22 09:02:14 UTC 2023


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.

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

Commit messages:
 - 8320057: [macos14] javax/swing/JToolTip/4846413/bug4846413.java: Tooltip has not been found!
 - 8320057: [macos14] javax/swing/JToolTip/4846413/bug4846413.java: Tooltip has not been found!

Changes: https://git.openjdk.org/jdk/pull/16776/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16776&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8320057
  Stats: 72 lines in 1 file changed: 31 ins; 8 del; 33 mod
  Patch: https://git.openjdk.org/jdk/pull/16776.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16776/head:pull/16776

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


More information about the client-libs-dev mailing list