-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2, 5.0
-
tiger
-
x86
-
windows_xp
-
Verified
Name: asR10013 Date: 01/15/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b12
Testbase : RegTest-test
Platform[s] : Windows XP
Falling test[s]:
javax/swing/JComboBox/4465533/bug4465533.java
RegTest-test javax/swing/JComboBox/4465533/bug4465533.java test fails on Windows XP:
java.lang.Error: Failed: height of text field is 20, height of combo box is 19
or
java.lang.Error: Failed: height of text field is 15, height of combo box is 17
The test fails with the same result on our both Windows XP platforms: Pro and Home.
The test fails regardless whether the server or the client VM is used.
The test started to fail on Windows XP since Mantis-b04.
The test was run for all available Windows platforms with the following results:
win_xp win_98 win_me win_nt win_2000
b03: passed passed passed passed passed
b04: failed passed passed passed passed
b12: failed passed passed passed passed
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/JComboBox/4465533/bug4465533.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/win32/winXP_PRO_-server_smp_linux-16/workDir/test/javax/swing/JComboBox/4465533/bug4465533.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
RESULT_DIR=`pwd`
WORK_DIR=$RESULT_DIR/workDir/test
REPORT_DIR=$RESULT_DIR/reportDir
JT_HOME="h:/java/jct"
JAVA_HOME="h:/java/jdk1.4.2/win32"
TEST_BASE_PATH="h:/java/regtest/test"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-server"
TESTVMOPTS="-server"
CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"
export JAVA_HOME
export JT_HOME
export TESTWITH
export CLASSPATH
mkdir -p $WORK_DIR/scratch 2>&1
mkdir -p $WORK_DIR/jtData 2>&1
mkdir -p $REPORT_DIR 2>&1
#rm $WORK_DIR/jtData/ResultCache.jtw 2>&1
cd $WORK_DIR/scratch
$JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,PATH=${SHELL%/*},TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-16" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/javax/swing/JComboBox/4465533/bug4465533.java"
--- script end ---
Test output (jtr part):
=======================
----------System.err:(6/418)----------
java.lang.Error: Failed: height of text field is 15, height of combo box is 17
at bug4465533.compare(bug4465533.java:46)
at bug4465533.init(bug4465533.java:38)
at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:132)
at java.lang.Thread.run(Thread.java:536)
STATUS:Failed.Applet thread threw exception: java.lang.Error: Failed: height of text field is 15, height of combo box is 17
result: Failed. Execution failed: Applet thread threw exception: java.lang.Error: Failed: height of text field is 15, height of combo box is 17
test result: Failed. Execution failed: Applet thread threw exception: java.lang.Error: Failed: height of text field is 15, height of combo box is 17
Specific machine info:
======================
Hostname: linux-16
OS: Windows XP Pro
======================================================================
- relates to
-
JDK-6357695 TESTBUG: 4465533 is failing on windows XP for all 142_xx jdks
- Resolved