RFR: 8075917: The regression-swing case failed as the text on label is not painted red with the GTK L&F [v4]

Abhishek Kumar abhiscxk at openjdk.org
Fri Mar 1 10:42:55 UTC 2024


On Fri, 1 Mar 2024 10:38:21 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

>> JLabel text is not painted with the LAF defined foreground color in GTK LAF. In GTK LAF the foreground color is retrieved by using native system APIs. Fix is to return the foreground color if it is set by LAF defined property otherwise return the default color by calling native APIs.
>> Applet based test has been converted to automatic test and check for all installed LAFs. CI testing is green for test suite and individual test. Link attached in JBS.
>
> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   extended fix for disabled checkbox and radiobutton

@prsadhuk I have assigned [JDK-8298153](https://bugs.openjdk.org/browse/JDK-8298153) to me and extended the fix for checkbox and radiobutton here. Fix can be verified using the existing test `test/jdk/javax/swing/JRadioButton/4314194/bug4314194.java`.
Removed the test `javax/swing/JRadioButton/4314194/bug4314194.java` from problemlist and tested in CI which is ok.

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

PR Comment: https://git.openjdk.org/jdk/pull/17763#issuecomment-1972947440


More information about the client-libs-dev mailing list