-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
tiger
-
x86
-
linux
-
Verified
Name: aaR10208 Date: 09/16/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b19, b18
Testbase : RegTest-test
Platform[s] : Linux
switch/Mode : generic
Falling test[s]: tools/javadoc/generics/genericInnerAndOuter/Main.java
RegTest-test tools/javadoc/generics/genericInnerAndOuter/Main.java test fails on JDK1.5.0-b19, b18. The test passes if test.src and test.classes properties are set to the same value.
The test was added in b18.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/all/b19/ws/j2se/test/tools/javadoc/generics/genericInnerAndOuter/Main.java
jtr file location:
==================
/net/jtgb4u4c/export/sail15/results/tiger/b19/regtest/linux/mercury/workDir/test/tools/javadoc/generics/genericInnerAndOuter/Main.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
JDK=/net/koori/onestop/jdk/1.5.0/promoted/all/b19/binaries/linux-i586
TEST_BASE_PATH=/net/koori/onestop/jdk/1.5.0/promoted/all/b19/ws/j2se/test
cp ${TEST_BASE_PATH}/tools/javadoc/generics/genericInnerAndOuter/Main.java .
cp ${TEST_BASE_PATH}/tools/javadoc/generics/genericInnerAndOuter/expected.out .
mkdir ./pkg1
cp ${TEST_BASE_PATH}/tools/javadoc/generics/genericInnerAndOuter/pkg1/* ./pkg1
cp ${TEST_BASE_PATH}/tools/javadoc/generics/genericInnerAndOuter/../../lib/Tester.java .
${JDK}/bin/javac -source 1.5 -classpath ${JDK}/lib/tools.jar *.java
# will fail here
${JDK}/bin/java -showversion -cp ${JDK}/lib/tools.jar:. -Dtest.src=${TEST_BASE_PATH}/tools/javadoc/generics/genericInnerAndOuter/ -Dtest.classes=`pwd`/ Main
# will pass here
${JDK}/bin/java -showversion -cp .:${JDK}/lib/tools.jar Main
#diff -y ${TEST_BASE_PATH}/tools/javadoc/generics/genericInnerAndOut/expected.out ./testrun.out
--- script end ---
Script output:
==============
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 1.5.0-beta-b19, mixed mode)
Loading source files for package pkg1...
Constructing Javadoc information...
--> Output written to /home/aa133784/bugs/b19/testrun.out
Exception in thread "main" java.lang.Error: /home/aa133784/bugs/b19/testrun.out:1: output doesn't match
at Tester.verify(Tester.java:96)
at Main.main(Main.java:20)
Specific machine info:
======================
Hostname: peas
OS: SuSE Linux Desktop 1.0
Linux peas 2.4.19-4GB #1 Thu Aug 14 15:32:32 UTC 2003 i686 unknown
======================================================================
- relates to
-
JDK-4933958 TEST_BUG: tools/javadoc/generics/supertypes/Main.java failed
-
- Closed
-