-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
beta
-
generic
-
generic
-
Verified
Name: iaR10016 Date: 05/30/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b07
(passes with JDK1.5.0-b06, JDK1.4.2-b24, JDK1.4.1-b21)
Testbase : RegTest-test
Platform[s] : all
switch/Mode : all
Falling test[s]: javax/swing/JComboBox/4515752/DefaultButtonTest.java
Regression-test test javax/swing/JComboBox/4515752/DefaultButtonTest.java fails with JDK1.5.0-b07 on
all platforms. The test passes with previous JDK builds.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/javax/swing/JComboBox/4515752/DefaultButtonTest.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b07/regtest/sparc/sol9_sparc_novo48/workDir/test/javax/swing/JComboBox/4515752/DefaultButtonTest.jtr
How to reproduce:
=================
Run the following script (you may need to change it's $TESTJAVA and $TEST_BASE_PATH variables):
--- script start ---
#!/bin/sh
export TESTJAVA="/net/linux-15/export/home/java/jdk1.5.0/linux"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/test"
rm -rf DefaultButtonTest.*
cp $TEST_BASE_PATH/javax/swing/JComboBox/4515752/DefaultButtonTest.java .
$TESTJAVA/bin/javac DefaultButtonTest.java
$TESTJAVA/bin/java DefaultButtonTest
echo $?
--- script end ---
Test output (jtr part):
=======================
#section:script_messages
----------messages:(4/231)----------
JDK under test: (/net/linux-15/export/home/java/jdk1.5.0/sparc)
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b07)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0-beta-b07, mixed mode)
#section:build
----------messages:(3/104)----------
command: build DefaultButtonTest
reason: Named class compiled on demand
elapsed time (seconds): 0.0060
result: Passed. No need to compile: DefaultButtonTest.java
#section:main
----------messages:(3/133)----------
command: main DefaultButtonTest
reason: Assumed action based on file name: run main DefaultButtonTest
elapsed time (seconds): 9.335
----------System.out:(5/117)----------
ActionEvent: OK
ActionEvent: OK
ActionEvent: comboBoxEdited
ActionEvent: comboBoxChanged
ActionEvent: comboBoxEdited
----------System.err:(9/467)----------
java.lang.RuntimeException: Editable value has not changed
at DefaultButtonTest.testEditChange(DefaultButtonTest.java:117)
at DefaultButtonTest$RobotThread.run(DefaultButtonTest.java:100)
at java.lang.Thread.run(Thread.java:534)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Editable value has not changed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Editable value has not changed
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Editable value has not changed
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Editable value has not changed
Specific machine info:
======================
Hostname: novo48
OS: Solaris 9 (sparc)
======================================================================