Name: iaR10016 Date: 01/19/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b13, JDK1.4.2-b12, JDK1.4.1, JDK1.4.0
Testbase : RegTest-test
Platforms : Windows XP, Windows 2000, Windows ME, Windows NT, Windows 98
(The test passes on Solaris sparc, Silaris x86 and Linux systems)
Falling test: java/awt/Scrollbar/ScrollbarMouseWheelTest/ScrollbarMouseWheelTest.html
RegTest-test java/awt/Scrollbar/ScrollbarMouseWheelTest/ScrollbarMouseWheelTest.html test
fails with JDK1.4.2, JDK1.4.1, JDK1.4.0 on Windows systems. I tried to run the test using
mouse with wheel, three-button and two-button mouse without wheel.
The test passes on Solaris and Linux systems.
Probably, it is a duplicate of the bug 4487750.
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/awt/Scrollbar/ScrollbarMouseWheelTest/ScrollbarMouseWheelTest.html
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/win32/winXP_linux-16/workDir/test/java/awt/Scrollbar/ScrollbarMouseWheelTest/ScrollbarMouseWheelTest.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
export JT_HOME="h:/java/jct"
export JAVA_HOME="h:/java/jdk1.4.2/win32"
TEST_BASE_PATH="h:/java/regtest/test"
export TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-server"
TESTVMOPTS="-server"
export CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"
mkdir -p $WORK_DIR/scratch 2>&1
mkdir -p $WORK_DIR/jtData 2>&1
mkdir -p $REPORT_DIR 2>&1
cd $WORK_DIR/scratch
$JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS DenvVars=TESTJAVAHOME=$JAVA_HOME, TESTVMOPTS=$TESTVMOPTS, 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/java/awt/Scrollbar/ScrollbarMouseWheelTest/ScrollbarMouseWheelTest.html"
--- script end ---
Test output (jtr part):
=======================
----------System.out:(7/128)----------
Test Failed:
sb1upevents =5
sb2upevents = 0
pnlupevents = 10
sb1downevents =5
sb2downevents = 0
pnldownevents = 10
----------System.err:(5/326)----------
java.lang.RuntimeException: Test FAILED.
at ScrollbarMouseWheelTest.start(ScrollbarMouseWheelTest.java:165)
at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:133)
at java.lang.Thread.run(Thread.java:536)
STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Test FAILED.
result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: Test FAILED.
test result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: Test FAILED.
Specific machine info:
======================
Hostname: linux-16
OS: Windows XP Pro
======================================================================