On Mon, 21 Nov 2022 20:56:40 GMT, Damon Nguyen <[email protected]> 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
