JDK-6419326 : Regression:javax/swing/JComboBox/4890345/bug4890345.java fails in mustang b82
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-04-27
  • Updated: 2011-01-19
  • Resolved: 2006-05-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b84Fixed
Related Reports
Relates :  
Relates :  
Description
JDK        	    : Fails On:   Mustang b82
                      Passes On:  Mustang b50
Platform[s]         : Fails On:  winXP Pro
Failing Test [s]    : javax/swing/JComboBox/4890345/bug4890345.java

     Test source location:
    =====================
/net/jre.sfbay/p/v06/jdk/6.0/beta2/b82/ws/j2se/test/javax/swing/JComboBox/4890345/bug4890345.java

    jtr file location:
    ==================
/net/cady/export/reg/javax/swing/JComboBox/4890345/bug4890345.jtr

    How to reproduce:
    ====================
    - Set JAVA_HOME to Mustang b82 windows-i586
    - cd  /net/jre.sfbay/p/v06/jdk/6.0/beta2/b82/ws/j2se/test/javax/swing/JComboBox/4890345
    - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/win32/bin/jtreg -r:/tmp -w:/tmp bug4890345.java

    Test output:
    =============
----------System.err:(5/380)----------
java.lang.RuntimeException: Popup was not shown after VK_DOWN press. Test failed.
	at bug4890345.init(bug4890345.java:69)
	at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:133)
	at java.lang.Thread.run(Thread.java:618)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Popup was not shown after VK_DOWN press. Test failed.
result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: Popup was not shown after VK_DOWN press. Test failed.


test result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: Popup was not shown after VK_DOWN press. Test failed.

Comments
SUGGESTED FIX +++ bug4890345.java Wed May 3 12:33:18 2006 @@ -76,11 +76,10 @@ robo = JRobot.getRobot(); robo.delay(500); tbl.editCellAt(0,0); robo.hitKey(KeyEvent.VK_TAB); robo.hitKey(KeyEvent.VK_TAB); - robo.hitKey(KeyEvent.VK_TAB); robo.hitKey(KeyEvent.VK_F2); robo.hitKey(KeyEvent.VK_DOWN); robo.hitKey(KeyEvent.VK_ENTER); }
03-05-2006

EVALUATION The test is based on exact count of pressures of the TAB key. It seems the test fail is caused by the fix for the 6354845 bug. Earlier when the test window opened the header of the left table column was focused by default. It required three pressures of the TAB key to move focus to the second column cell. After the fix for the 6354845 bug the upper left cell of the table is focused by default. It requires two pressures of the TAB key to move focus to the second column cell.
03-05-2006