While testing jck runtime-interactive for 1.4.0_03_b3, I noticed a test failure related to CardLayoutTest 0005 - api/java_awt/interactive/CardLayoutTests.html
The test instructions are to navigate through the Card Layout with the buttons, Remove a Card with the Remove button, Press the Show button to refresh the card layout and then navigate through the rest of the Cards to verify the removal. However I noticed that after you remove a card, you cannot use the other navigational buttons.
Steps to reproduce:
1.Load Card Test Layout 0005 - api/java_awt/interactive/CardLayoutTests.html
(Cycle through until you see test 0005).
2.Naviagte through the cards with the First-Last-Next-Previous buttons.
3.Remove a card - example I used was the First Card.
4.Try to use the other navigation buttons - they should not work, not even the Show button refreshes the layout.
I have reproduced this bug on 2 window 2k machines, win XP and Solaris.
Also tested with different flags -Xmixed and -server. I notcied the same failure throughout for this build and also for 1.4.0_03_b1.
I tested to verify with 1.4.0_02_b3 and 1.4fcs and could not reproduce the bug here.
The regression was introduced in 1.4.0_03_b1.