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

JCk14 2 vm/instr tests return incorrect return code using Xcomp switch.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • hotspot
    • beta2
    • x86, sparc
    • solaris_8
    • Verified

      The expected retrun code is 95 but it is retruning 0.

      JDK : 1.4.0-beta_refresh-b66/b67 (passed on b63b)
      JCK : jck1.4
      Platform[s] : Solaris 5.8 of Sparc or Intel.
      switch/Mode : c1 Xcomp - failed
                       c1, c1 Xint,
                       c2, c2 Xint, c2 Xcomp - passed

      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test :

      1)vm/instr/pop/pop001/pop00103m1/pop00103m1.html
      2)vm/instr/pop2/pop2001/pop200106m1/pop200106m1.html
       

      Test source location:
      =====================
      1)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/pop/pop001/pop00103m1/pop00103m1.jasm
      2)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/vm/instr/pop2/pop2001/pop200106m1/pop200106m1.jasm


      jtr file location:
      ==================
      1) file:///net/jtgb4u4c/export/sail16/results/merlin/b66/jck14/sparc/s8_client_comp_jtg-s111/workDir/vm/instr/pop/pop001/pop00103m1/pop00103m1.jtr

      (jtr attached.)

      2)
      file:///net/jtgb4u4c/export/sail16/results/merlin/b66/jck14/sparc/s8_client_comp_jtg-s111/workDir/vm/instr/pop2/pop2001/pop200106m1/pop200106m1.jtr


      How to reproduce:
      ====================
      Run the attached script.
         vm_Instr_pop.ksh -client -Xcomp
      --------Script START---------------------
      #!/bin/ksh
      SWITCH=${1+$@}
      JDK=/net/jdk/export/disk8/local.java/jdk1.4
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
      TESTBASE=/net/jtgb4u4c.eng/export/sail16/JCK/jck14
      JCK=${TESTBASE}/JCK-runtime-14
      executeClass="javasoft.sqe.tests.vm.instr.pop.pop001.pop00103m1.pop00103m1"
      excludeCmd=
      executeClassArgs=
      executeTestURL=
      headless=false
      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/java.auth.policy -Djava.security.auth.login.config=${JCK}/lib/java.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}

      echo "return code is $?"

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

      Test output:
      =============
      return code is 0

      Specific Machine Info:
      =====================
      SunOS jtg-s111 5.8 Generic sun4u sparc SUNW,Ultra-2
      SunOS jtg-i116 5.8 Generic i86pc i386 i86pc

      takwing.cheung@Eng 2001-06-11

            kbr Kenneth Russell (Inactive)
            tacheung Tak Wing Cheung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: