JDK-4972876 : (ref) api/java_lang/ref/Reference/index.html#{isEnqueued,Clear} test fail in b32
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-12-26
  • Updated: 2004-03-19
  • Resolved: 2004-02-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 b40Fixed
Related Reports
Relates :  
Description

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)

======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta2 FIXED IN: tiger-beta2 INTEGRATED IN: tiger-b40 tiger-beta2 VERIFIED IN: tiger-beta2
14-06-2004

EVALUATION This bug will be fixed by the fix for 4243978, which is slated for beta2 but is dependent upon a VM fix (4965777) which is also slated for beta2. These JCK failures are all corner cases and are extremely unlikely to affect any actual application. The code involved is fairly delicate and is central to the stability of the system. We could in principle provide an alternative fix just for beta1, but I don't think the payoff is worth the risk. -- ###@###.### 2004/1/13
01-12-0179