corretto / corretto-21

GNU General Public License v2.0
66 stars 19 forks source link

Abbot based Java Swing Automation test suites are failing(java.awt.AWTError: no screen devices) in RDP minimized Windows with 21.0.4.7.1 where as same worked in 21.0.3.9.1 #68

Open naveengujjar29 opened 1 month ago

naveengujjar29 commented 1 month ago

Describe the bug

We have the Java Swing Automation and using the Abbot tool (https://abbot.sourceforge.net/doc/overview.shtml) for automation. Automation seems working fine till 21.0.3.9.1 but failing in 21.0.4.7.1. We are using the minimized RDP mechanism for automation on Windows where GUI is not upfront available.

To Reproduce

Java swing automation using Abbot tool.

Expected behavior

There should not be such kind of error as without any changes same is working with previous release 21.0.3.9.1.

Screenshots

image

Platform information

Windows OS. Amazon Corretto 21.0.4.7.1

eastig commented 1 month ago

This is caused by https://bugs.openjdk.org/browse/JDK-8336862