-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.2.0
-
sparc
-
solaris_2.6
JCK test lang/THRD/thrd023/thrd02301/thrd02301.html fails when run
using the native threads, JDK-1.2fcs-P on a sparc/Solaris 2.6
system. The test is almost certainly bogus. See bug ID 4159877.
algol% cat thrd02301.ksh
#!/bin/ksh
JDK=/net/mulder.eng/export/mulder3/jdk12x/`/bin/uname -p`/jdk1.2FCS_P
JCK=/net/ultralynx.eng/export/kumarsv/jck/JCK-12a-O
PATH=${JDK}/bin:/usr/dt/bin:/usr/bin:/bin:/usr/openwin/bin
LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
THREADS_FLAG=native
export PATH
export LD_LIBRARY_PATH
export CLASSPATH
export THREADS_FLAG
if [ ! -f thrd02301.html ]; then
cp ${JCK}/tests/lang/THRD/thrd023/thrd02301/thrd02301.html .
fi
if [ ! -f thrd02301.java ]; then
cp ${JCK}/tests/lang/THRD/thrd023/thrd02301/thrd02301.java .
fi
STATUS=95
let i=0
while [ ${STATUS} = "95" ]; do
echo ${JDK}
java -Xverify:remote -Djava.compiler=sunwjit javasoft.sqe.tests.lang.thrd023.thrd02301.thrd02301
STATUS=$?
echo ${i}': '${STATUS}
let i=i+1
done
algol% thrd02301.ksh
/net/mulder.eng/export/mulder3/jdk12x/sparc/jdk1.2FCS_P
lock.counter = 19703
!= 10000+10000
0: 97
allan.jacobs@Eng 1998-11-09
The test thrd02301 is going to be excluded in the next JCK, which means that it
is a bad test. Close this bug.
allan.jacobs@Eng 1998-11-10