-
Bug
-
Resolution: Fixed
-
P5
-
1.4.2
-
b14
-
x86, sparc
-
solaris_9, windows
-
Verified
Name: asR10013 Date: 12/05/2002
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b08
Testbase : RegTest-test
Falling test[s]:
sun/net/www/protocol/http/RelativeRedirect.java
Regression sun/net/www/protocol/http/RelativeRedirect.java fails to compile
if another test sun/net/www/protocol/http/DigestTest.java is not yet compiled.
sun/net/www/protocol/http/RelativeRedirect.java uses the MyAuthenticator class
defined in DigestTest.java but does not require to compile it.
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/sun/net/www/protocol/http/RelativeRedirect.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/sparc/sol9_sparc_novo48/workDir/test/sun/net/www/protocol/http/RelativeRedirect.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="/net/linux-15/export/home/java/jct"
JAVA_HOME="/net/linux-15/export/home/java/jdk1.4.2/sparc"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/test"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-client"
TESTVMOPTS="-client"
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,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="novo48" -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/sun/net/www/protocol/http/RelativeRedirect.java"
--- script end ---
Test output (jtr part):
==============
----------System.err:(11/528)----------
/net/linux-15/export/home/java/regtest/test/sun/net/www/protocol/http/RelativeRedirect.java:55: cannot resolve symbol
symbol : class MyAuthenticator
location: class RelativeRedirect
MyAuthenticator auth = new MyAuthenticator ();
^
/net/linux-15/export/home/java/regtest/test/sun/net/www/protocol/http/RelativeRedirect.java:55: cannot resolve symbol
symbol : class MyAuthenticator
location: class RelativeRedirect
MyAuthenticator auth = new MyAuthenticator ();
^
2 errors
result: Failed. Compilation failed
test result: Failed. Compilation failed
Specific machine info:
======================
Hostname: linux-18
OS: Windows ME
Hostname: novo48
OS: Solaris 9 (sparc) (CDE)
======================================================================