On Thu, 22 Aug 2024 05:24:24 GMT, Abhishek Kumar <abhis...@openjdk.org> wrote:

> This test should have failed with the 
> [changeset](https://github.com/openjdk/jdk/pull/20612) proposed for 
> [JDK-4795384](https://bugs.openjdk.org/browse/JDK-4795384) but it didn't 
> because GTK look and feel isn't supported in headless environment.
> 
> Fix is to run the test with headful environment on linux platform. 
> 
> Tested in CI pipeline and link attached to JBS.

@kumarabhi006 
> Fix is to run the test with headful environment on linux platform.

Does this have to do with not loading the gtk files in headless mode? 
https://github.com/openjdk/jdk/blob/master/src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.c#L26C1-L28C7

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

PR Comment: https://git.openjdk.org/jdk/pull/20671#issuecomment-2305824986

Reply via email to