JDK-4491466 : JCK14, api/java_util/HashSet/index.html, 5 tests, sparc, x86, b75, c1, c2
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,linux,windows_nt
  • CPU: x86,sparc
  • Submitted: 2001-08-13
  • Updated: 2021-03-03
  • Resolved: 2001-08-15
Related Reports
Duplicate :  
Description
JDK            : 1.4.0-beta_refresh-b75
JCK            : JCK14-b08
Platform[s]    : Solaris Sparc/Intel, Failed on all OS.
switch/Mode    : -Client and all other switches
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test   : 5 tests

1) api/java_util/HashSet/index.html#Add [HashSet0003]
2) api/java_util/HashSet/index.html#Remove [HashSet0005]
3) api/java_util/HashSet/index.html#Contains [HashSet0007]
4) api/java_util/HashSet/index.html#Iterator [HashSet0013]
5) api/java_util/HashSet/index.html#Ctor3 [HashSet0001]
    
Test source location:
=====================

1)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/HasSet/AddTests.java

2)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/HasSet/RemoveTests.java

3)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/HasSet/ContainsTests.java

4)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/HasSet/IteratorTests.java

5)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/HasSet/Ctor3Tests.java

jtr file location:
==================

1)file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_d64_jtg-s120/workDir/api/java_util/HashSet/index_Add.jtr

2)file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_d64_jtg-s120/workDir/api/java_util/HashSet/index_Remove.jtr

3)file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_d64_jtg-s120/workDir/api/java_util/HashSet/index_Contains.jtr

4)file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_d64_jtg-s120/workDir/api/java_util/HashSet/index_Iterator.jtr

5)file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_d64_jtg-s120/workDir/api/java_util/HashSet/index_Ctor3.jtr

jtr files are attached.

How to reproduce:
=================
Attached script

 HashSet-Add.ksh

--------Script START---------------------
#!/bin/ksh
SWITCH=${1+$@}

JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
TESTBASE=/net/jdk/export/disk8/local.java/jck1.4

JCK=${TESTBASE}/JCK-runtime-14


executeClass="javasoft.sqe.tests.api.java.util.HashSet.AddTests"
excludeCmd=
executeClassArgs=
executeTestURL=
headless=

#executeContextArgs is used for vm testing.
executeContextArgs=
case `uname -s` in
  SunOS)
   ARCH=`uname -p`
   case $ARCH in
    sparc)
      sharedJDK=$JDK/solsparc
      ;;
    i386)
      sharedJDK=$JDK/solx86
      ;;
   esac
   ;;
  Linux)
   sharedJDK=$JDK/linux-i386
   ARCH=linux
   ;;
esac

CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}

if `echo $SWITCH|grep "\-d64" >/dev/null`; then
  LD_LIBRARY_PATH=${JCK}/lib/sparcv9
else
  LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
fi


PATH=$JDK/bin:$sharedJDK/bin:$PATH

export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH


echo
java ${SWITCH} -version
echo
java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/jck.auth.policy -Djava.security.auth.login.config=${JCK}/lib/jck.auth.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd}  ${executeClassArgs} ${executeContextArgs} ${executeTestURL} 

--------Script END----------------------

Test output:
=============
1) api/java_util/HashSet/index.html#Add [HashSet0003]
HashSet0003: Failed. FAIL
STATUS:Failed.tests: 1; failed: 1; first test case failure: HashSet0003

2) api/java_util/HashSet/index.html#Remove [HashSet0005]
HashSet0005: Failed. FAIL: Element null is not removed from this set.
STATUS:Failed.tests: 2; passed: 1; failed: 1; first test case failure: HashSet0005

3) api/java_util/HashSet/index.html#Contains [HashSet0007]
HashSet0007: Failed. FAIL: The element null is not contained in this set.
STATUS:Failed.tests: 2; passed: 1; failed: 1; first test case failure: HashSet0007

4) api/java_util/HashSet/index.html#Iterator [HashSet0013]
HashSet0013: Failed. FAIL: The elements of the iterator is different from the element of this set.
STATUS:Failed.tests: 2; passed: 1; failed: 1; first test case failure: HashSet0013

5) api/java_util/HashSet/index.html#Ctor3 [HashSet0001]
HashSet0001: Failed. FAIL
STATUS:Failed.tests: 3; passed: 2; failed: 1; first test case failure: HashSet0001

    
Specific Machine Info:
=====================
SunOS jtg-s118 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-2
SunOS jtg-i108 5.8 Generic i86pc i386 i86pc



###@###.### 2001-08-13