RFR: 8202931: [macos] java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java fails

Sergey Bylokhov serb at openjdk.org
Tue Nov 22 01:35:25 UTC 2022


On Mon, 21 Nov 2022 20:56:40 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

> Test ran on all OS 100 times and passed. Test previously failed on macOS but no longer reproducible. Added screen capture on moment of failure to have more evidence of failures in the future (previously a runtime exception was thrown only).

test/jdk/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java line 130:

> 128:                     .getLocalGraphicsEnvironment().getDefaultScreenDevice()
> 129:                     .getDefaultConfiguration();
> 130:             BufferedImage failImage = robot.createScreenCapture(ge.getBounds());

The test verifies all GraphicsDevice in the system, so the screenshot should be done on the screen where the popup is currently shown,

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

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



More information about the client-libs-dev mailing list