Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4491976

JCK13a api/java_util/HashMap/TestDesc.html#HashMap.remove(Object)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta2
    • x86, sparc
    • solaris_8, windows_98
    • Verified

      JDK : 1.4.0-beta-b75 (passed on b73)
      JCK : jck1.3a
      Platform[s] : Solaris Sparc/Intel
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test :
       
      api/java_util/HashMap/TestDesc.html#HashMap.remove(Object)

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/testsapi/java_util/HashMap/HMRemoveTest.java

      jtr file location:
      ==================
      file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck13a/sparc/s8_client_jtg-s112/workDir/api/java_util/HashMap/TestDesc_HashMap.remove(Object).jtr

      How to reproduce:
      ====================
      run the attached script
         HMRemoveTest.ksh
      --------Script START---------------------
      #!/bin/ksh
      SWITCH=${1+$@}

      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0_beta_refresh
      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
      JCK=${TESTBASE}/JCK-runtime-13a
      executeClass="javasoft.sqe.tests.api.java.util.HashMap.HMRemoveTest"
      excludeCmd=
      executeClassArgs="-TestCaseID ALL"
      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.rmi.activation.port=${executeClass} -Djava.awt.headless=${headless} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}



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

      Test output:
      =============
      Starting testcase TestCase0001...
      Validation Test. Test the public void remove(Object)
       checking for the size assertion
       remove( Object) failed to reduce the size of the HashMap by 1
       remove( Object) failed to reduce the size of the HashMap by 1
      TestCase0001: Failed. remove( Object) failed to reduce the size by 1
      STATUS:Failed.tests: 1; failed: 1; first test case failure: TestCase0001

      Specific Machine Info:
      =====================

      SunOS jtg-s120 5.8 Generic sun4u sparc SUNW,Ultra-60
      SunOS jtg-i116 5.8 Generic i86pc i386 i86pc



      ###@###.### 2001-08-14

            jjb Josh Bloch (Inactive)
            tacheung Tak Wing Cheung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: