java/awt/PopupMenu/PopupMenuLocation.java seems to be unstable in MacOS 
machines, especially in MacOSX 12 & 13 machines. It seems to be a testbug as 
adding some stability improvements fixes the issue. It intermittently fails in 
CI causing some noise. This test was already problem listed in windows due to 
an umbrella bug JDK-8238720. This fix doesn't cover the Windows issue, so the 
problem listing in windows will remain same.

Fix:
Some stability improvements have been done and the test has been run 100 times 
per platform in mach5 and got full PASS.
Also updated the screen capture code, made frame undecorated, added some prints 
for better debugging.

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

Commit messages:
 - 8288415: java/awt/PopupMenu/PopupMenuLocation.java is unstable in MacOS 
machines

Changes: https://git.openjdk.org/jdk/pull/10655/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10655&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8288415
  Stats: 55 lines in 1 file changed: 35 ins; 4 del; 16 mod
  Patch: https://git.openjdk.org/jdk/pull/10655.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10655/head:pull/10655

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

Reply via email to