JDK-6423402 : javax/swing/JComboBox/4513773/EditableFocusTest.java fails on winxp machine.
  • 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-05-09
  • Updated: 2014-09-23
  • Resolved: 2006-05-31
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.
Other JDK 6
5.0u8Fixed 6 b86Fixed
Description
Bug Info:
=========
javax/swing/JComboBox/4513773/EditableFocusTest.java fails on winxp machine with RuntimeException.

First i ran the test across the network,the test has failed and then copied the build locally and ran the test in the local machine eventhough the test has failed.

JDK Info:
=========
java version "1.6.0-swing_int_jcg_win_03"
Java(TM) SE Runtime Environment (build 1.6.0-swing_int_jcg_win_03-java2d_03_may_2006_12_03-b00)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b82, mixed mode)

Test Source Location
====================
/net/sqindia/export/disk11/swing/mustangbinaries/PIT.04.May.2006/test/javax/swing/JComboBox/4513773/EditableFocusTest.java

Steps to reproduce:
===================
1. Set JAVA_HOME to PIT b84.
2. cd /net/sqindia/export/disk11/swing/mustangbinaries/PIT.04.May.2006/test/javax/swing/JComboBox/4513773/
3. /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/win32/bin/jtreg -r:/tmp -w:/tmp ./EditableFocusTest.java

Please check the attached jtr file for exception details.

Comments
EVALUATION Quite some time ago, JTable was changed such that on initialization, the lead selection indices are -1. As such, an extra tab is required to get to the combo box that this test is trying to test.
24-05-2006