RFR: 8226933: [TEST_BUG]GTK L&F: There is no swatches or RGB tab in JColorChooser [v2]

Abhishek Kumar abhiscxk at openjdk.org
Fri Sep 6 07:18:49 UTC 2024


On Fri, 6 Sep 2024 06:44:25 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>>> I guess better to restrict programmatically "GTK".equals(UIManager.getLookAndFeel().getName()) Also, add a comment why it is not applicable..
>> 
>> For a manual test, it can be run by command line with `Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel` option. How could I restrict programmatically ?
>
> Whatever L&F you are running on irrespective of manually or automated, it should be able to find out via getLookAndFeel..

Yeah, you are right. Test updated to throw `jtreg.SkippedException` if it is run for GTK L&F.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20867#discussion_r1746620391


More information about the client-libs-dev mailing list