On Fri, 7 Oct 2022 13:36:17 GMT, Manukumar V S <[email protected]> wrote:

> 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.

test/jdk/java/awt/PopupMenu/PopupMenuLocation.java line 148:

> 146:         try {
> 147:             ImageIO.write(robot.createScreenCapture(
> 148:                     new Rectangle(0, 0, screenSize.width, 
> screenSize.height)),

This may capture the default screen while the frame is currently visible on 
another one.

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

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

Reply via email to