<Swing Dev> RFR JDK-8244557: test/jdk/javax/swing/JTabbedPane/TestBackgroundScrollPolicy.java failed
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Thu May 7 09:18:14 UTC 2020
Hi All,
Please review a test fix for an issue seen to be failing on mach5
nightly testing.
This test was cloned from
javax/swing/JTabbedPane/8007563/Test8007563.java (which was added to
test fix for JTabbedPane background when tabs are opaque for default
WRAP_TAB_LAYOUT policy)
and pane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
was added to test for SCROLL_TAB_LAYOUT not realising Test8007563.java
is unstable and has been problemlisted.
The test is now rewritten to test only the problem statement which is to
check for JTabbedPane background when tabs are opqaue for
SCROLL_TAB_LAYOUT policy. The test still fails without 8172269 fix.
Tested on all mach5 platforms for 100 iterations (job details in JBS)
Bug: https://bugs.openjdk.java.net/browse/JDK-8244557
webrev: http://cr.openjdk.java.net/~psadhukhan/8244557/webrev.0/
Regards
Prasanta
More information about the swing-dev
mailing list