Name: iaR10016 Date: 12/26/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b32
(passes with JDK1.5.0-b31, JDK1.4.2-b28)
JCK : JCK1.5-runtime (b10)
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/java_lang/ref/Reference/index.html#isEnqueued [Reference2087, Reference2092, Reference2104]
api/java_lang/ref/Reference/index.html#Clear [Reference2006, Reference2016, Reference2036]
Test source location:
=====================
/java/re/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15/tests/api/java_lang/ref/Reference/isEnqueuedTests.java
/java/re/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15/tests/api/java_lang/ref/Reference/ClearTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/java_lang/ref/Reference/index_isEnqueued.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/java_lang/ref/Reference/index_Clear.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
#Paths in Java Software:
JDK="/java/re/jdk/1.5.0/promoted/all/b32/binaries/solaris-sparc"
JCK="/java/re/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15"
#Alternative paths outside Java Software:
#JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b32/binaries/solaris-sparc"
#JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java -showversion javasoft.sqe.tests.api.java.lang.ref.Reference.ClearTests -TestCaseID Reference2006 Reference2016 Reference2036
echo =================================================================================
$JDK/bin/java javasoft.sqe.tests.api.java.lang.ref.Reference.isEnqueuedTests -TestCaseID Reference2087 Reference2092 Reference2104
--- script end ---
Test output:
============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b32, mixed mode)
Reference2006: Failed. clear(), isEnqueued()==true
Reference2016: Failed. clear(), isEnqueued()==true
Reference2036: Failed. clear(), isEnqueued()==true
STATUS:Failed.test cases: 3; all failed; first test case failure: Reference2006
=================================================================================
Reference2087: Failed. Ref(obj,queue), isEnqueued()==true
Reference2092: Failed. Ref(obj,queue), isEnqueued()==true
Reference2104: Failed. Ref(obj,queue), isEnqueued()==true
STATUS:Failed.test cases: 3; all failed; first test case failure: Reference2087
Specific machine info:
======================
Hostname: linux-16
OS: Windows XP Pro
Hostname: linux-4
OS: Turbo Linux 8.0 (GNOME)
Hostname: linux-5
OS: RedHat Linux 9.0 (GNOME)
Hostname: linux-6
OS: Solaris 9 (x86) (CDE)
Hostname: linux-8
OS: Solaris 10 (sparc) (CDE)
Hostname: linux-9
OS: RedHat Advanced Server 3 (Gnome)
Hostname: novo48
OS: Solaris 9 (sparc) (CDE)
======================================================================
- relates to
-
JDK-4243978 (ref) Race condition in Reference.enqueue()
- Closed