RFR: 8338668: Test javax/swing/JFileChooser/8080628/bug8080628.java doesn't test for GTK L&F
Harshitha Onkar
honkar at openjdk.org
Thu Aug 22 22:05:03 UTC 2024
On Thu, 22 Aug 2024 05:24:24 GMT, Abhishek Kumar <abhiscxk at 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
More information about the client-libs-dev
mailing list