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

JCK: api/org_omg/CORBA/CStatus/CStatusTest.html#CStatus_test_compilation fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • 1.4.0
    • hotspot
    • x86
    • linux, windows_98


      The following JCK1.3 test fails on Linux RedHat 6.2 and Windows:
            api/org_omg/CORBA/CStatus/CStatusTest.html#CStatus_test_compilation
            
      To reproduce the bug, run script below
      You may need to set JCK and JAVA_HOME.
      -------------------------------------------------------------------------------------
      #!/bin/sh
      SWITCH="$@"
      JAVA_HOME=/usr/local/java/jdk1.4/linux-i386
      JCK=/net/orthello/home2/JCK-13
      CLASSPATH=$JCK/classes:$JCK/javatest.jar
      export CLASSPATH
      executeClass="javasoft.sqe.tests.api.org_omg.CORBA.CStatus.CStatusClient -server javasoft.sqe.tests.api.org_omg.CORBA.CStatus.CStatusServer -ORBInitialHost localhost -ORBInitialPort 9876"

      $JAVA_HOME/bin/java ${SWITCH} -version
      $JAVA_HOME/bin/tnameserv -ORBInitialPort 9876 &
      $JAVA_HOME/bin/java ${SWITCH} -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass}
      RESULT="$?"
      if [ $RESULT = 95 ]; then
       echo Test passed
      elif [ $RESULT = 97 ]; then
       echo Test failed
      else
       echo Result is $RESULT
      fi

      ------------------------------------ output ------------------------------------------

      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b40)
      Java HotSpot(TM) Client VM (build 1.4beta-B40, mixed mode)
      Checking for assertion
      Creating StreamObject from object
      Verifying for JDK version : 1.2
      Creating the spec class
      Verifying the constraints on the serial fields
      ConstructorTest0001 failed. The algorithm returned is false

      ConstructorTest0001: Failed.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: ConstructorTest0001
      Test failed
      [kotl@linux-14 security]$

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

            jcoomes John Coomes (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: