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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux, windows_98

      Description


      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]$

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: