RFR: 8343891: Test javax/swing/JTabbedPane/TestJTabbedPaneBackgroundColor.java failed [v2]

Alexey Ivanov aivanov at openjdk.org
Fri Mar 21 11:04:08 UTC 2025


On Fri, 21 Mar 2025 09:53:37 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

>> TestJTabbedPaneBackgroundColor.java test was failing intermittently in CI jobs. Test is modified to access UI components on EDT for stabilizations. CI testing seems fine after test change. Link attached in JBS.
>
> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   copyright year update

Marked as reviewed by aivanov (Reviewer).

test/jdk/javax/swing/JTabbedPane/TestJTabbedPaneBackgroundColor.java line 138:

> 136:         Color expected = isOpaque ? c1 : c2;
> 137: 
> 138:         if (!expected.equals(actual)) {

You may want to print the color values to the test output.

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

PR Review: https://git.openjdk.org/jdk/pull/24148#pullrequestreview-2705529874
PR Review Comment: https://git.openjdk.org/jdk/pull/24148#discussion_r2007340811


More information about the client-libs-dev mailing list