Test fails in GTK L&F as test attempts to cast JColorChooser component to 
JTabbedPane but colorChooser UI is different in GTK L&F without tabbedpane as 
seen below so restricted it for GTK run

<img width="579" height="404" alt="image" 
src="https://github.com/user-attachments/assets/79c23377-5ab3-48a5-a02f-c93b8885e4bd";
 />

unlike Metal

<img width="622" height="381" alt="image" 
src="https://github.com/user-attachments/assets/ee9a8433-6766-403e-b3c0-dfe441200f96";
 />

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

Commit messages:
 - 8068310: [TEST_BUG] Test javax/swing/JColorChooser/Test4234761.java fails 
with GTKL&F
 - 8068310: [TEST_BUG] Test javax/swing/JColorChooser/Test4234761.java fails 
with GTKL&F

Changes: https://git.openjdk.org/jdk/pull/27836/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27836&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8068310
  Stats: 12 lines in 1 file changed: 9 ins; 1 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/27836.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27836/head:pull/27836

PR: https://git.openjdk.org/jdk/pull/27836

Reply via email to