-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b28
-
x86, sparc
-
linux, solaris_9, windows_2000, windows_xp
-
Verified
Name: icR10030 Date: 10/07/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b22
Testbase : Regression-test
Platform[s] : Windows XP Home, Solaris 9 (sparc) (CDE), Solaris 9 (x86) (CDE)
switch/Mode : -client, -server
Falling test[s]:
javax/swing/text/html/CSS/4284162/bug4284162.java
Regression-test javax/swing/text/html/CSS/4284162/bug4284162.java test fails with JDK1.5.0-b22
The test passes on tiger-b21
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/javax/swing/text/html/CSS/4284162/bug4284162.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b22/regtest/x86/sol9_x86_cde_smp_linux-6/workDir/test/javax/swing/text/html/CSS/4284162/bug4284162.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
#KOORI_ONESTOP is your path to koori.sfbay/onestop (/net/koori/onestop, /java/re)
KOORI_ONESTOP="/java/re"
#JPSE04 is your path to /net/jdk/export/jpse04
JPSE04="/net/jdk/export/jpse04"
#JT_HOME="/net/linux-15/export/home/java/jct"
JT_HOME="$KOORI_ONESTOP/jct-tools/3.1.2/archive/fcs/binaries"
#JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
JEMMY_JAR="$JPSE04/Jemmy/jemmy.jar"
#JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/x86"
JAVA_HOME="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b22/binaries/solaris-i586"
#TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
TEST_BASE_PATH="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b22/ws/j2se/test"
TESTVMOPTS="-server"
CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
TEST="javax/swing/text/html/CSS/4284162/bug4284162.java"
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 -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-6" -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/$TEST"
--- script end ---
Script output:
==============
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/97)----------
command: build bug4284162
reason: Named class compiled on demand
elapsed time (seconds): 0.0010
result: Passed. No need to compile: bug4284162.java
#section:applet
----------messages:(3/122)----------
command: applet bug4284162.html
reason: User specified action: run applet bug4284162.html
elapsed time (seconds): 11.399
----------System.out:(0/0)----------
----------System.err:(5/296)----------
java.lang.RuntimeException: Test failed.
at bug4284162.destroy(bug4284162.java:63)
at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:156)
at java.lang.Thread.run(Thread.java:549)
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-21
OS: Windows XP Home
Hostname: linux-6
OS: Solaris 9 (x86) (CDE)
Hostname: novo48
OS: Solaris 9 (sparc) (CDE)
======================================================================