RFR: 8335986: Test javax/swing/JCheckBox/4449413/bug4449413.java fails on Windows 11 x64 because RBMenuItem's and CBMenuItem's checkmark on the left side are not visible

Tejesh R tr at openjdk.org
Wed Jun 18 05:34:27 UTC 2025


On Wed, 18 Jun 2025 03:56:13 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> RBMenuItem's and CBMenuItem's checkmark on the left side are not visible while running on Windows L&F as background color is same as RBMenuItem/CBMenuItem's checkmark..
> Modified the color so that they are visible..

test/jdk/javax/swing/JCheckBox/4449413/bug4449413.java line 192:

> 190: 
> 191:         b.setOpaque(true);
> 192:         b.setBackground(Color.red);

The test is specifically for background color black, I think you need to retain background color.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25864#discussion_r2153676999


More information about the client-libs-dev mailing list