-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
tiger
-
x86
-
windows_xp
-
Verified
Name: vsR10238 Date: 10/06/2003
Filed By : J2SE-SQA [###@###.###
JDK : java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b19)
Java HotSpot(TM) Client VM (build 20030925111405.kbr.share_baseline-debug, mixed mode)
Testbase : Regression-cte
Platform[s] : all
Falling test[s]:
CTE_REGTEST/Generic/4211817/testJCE.java
Regression-cte test CTE_REGTEST/Generic/4211817/testJCE.java fails on JDK1.5.0-b19 with class sharing enabled.
The test appends jce1_2_1.jar to the boot class path causing the test to fail with the following output in test.out:
"An error has occured while processing the shared archive file.
Sharing is disabled.
Differing number of jar files in the boot classpath."
Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4211817/testJCE.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b19s_on/regtest/win32/winXP_linux-16/workDir/cte/CTE_REGTEST/Generic/4211817/testJCE.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="z:"
#JPSE04 is your path to /net/jdk/export/jpse04
JPSE04="x:"
#JT_HOME="h:/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="h:/java/jdk1.5.0/win32"
JAVA_HOME="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b19/binaries/windows-i586"
#TEST_BASE_PATH="h:/java/regtest.tiger/cte"
TEST_BASE_PATH="$JPSE04/Regression/1.5.0/test"
TESTVMOPTS="-client"
CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"
TEST="CTE_REGTEST/Generic/4211817/testJCE.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,windir=$windir,SystemRoot=$SystemRoot,PATH=${SHELL%/*},CPAPPEND=$JEMMY_JAR,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/$TEST"
--- script end ---
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:shell
----------messages:(3/121)----------
command: shell Test4211817.sh
reason: User specified action: run shell Test4211817.sh
elapsed time (seconds): 1.973
----------System.out:(1/13)----------
Test Failed
----------System.err:(1/36)----------
java full version "1.5.0-beta-b19"
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
Specific machine info:
======================
Hostname: linux-16
OS: Windows XP Pro
======================================================================