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

JCK: 8 JCK CORBA tests fail on Linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: other-libs
    • Labels:

      Description



      Name: skR10017 Date: 12/09/2000



      The following JCK1.3 tests fail on Linux:
           api/org_omg/CosNaming/NamingContext/NamingContextTest.html#NamingContext
           api/org_omg/CORBA/TIE/TieTest.html#Tie_Test_localexec
           api/org_omg/CORBA/AnyTC/AnyTC.html#AnyTypeCodeTest_003_localexec
           api/org_omg/CORBA/SimpleMarshal/SimpleMarshal.html#SimpleMarshal_Test_Compilation
           api/org_omg/CORBA/NVList/NVListTest.html#DII_test_compilation
           api/org_omg/CORBA/Named/NameTest.html#Named_test_compilation
           api/org_omg/CORBA/ExceptionTest/ExcTest.html#Exc_test_compilation
           api/org_omg/CORBA/StubTest/StubTest.html#StubTest_localexec

      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.tie.TieClient -ORBInitialHost localhost -ORBInitialPort 9876 -classDir /tmp"

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

      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b42)
      Java HotSpot(TM) Client VM (build B42, mixed mode)
      ICSBaseTest : load class javasoft.sqe.tests.api.org_omg.CORBA.tie.TieServer
       ICSBaseTest : parseArgs ...
      ICSBaseTest: init
      ICSBaseTest: init() done !!
      Persist : getParam : -ORBInitialHost is localhost
      Persist : getInitialSrvcs : InitialNamingContext obtained !
      No. of Tests :0
      No. of Errors :0
      TieServer: start ()
      TieServer: TieTest Object created
      TieServer: Persistify the TieTest object
      TieServer: execute
      TieServer: passed
      Args[0] = -server
      Args[1] = javasoft.sqe.tests.api.org_omg.CORBA.tie.TieServer
      Args[2] = -ORBInitialHost
      Args[3] = localhost
      Args[4] = -ORBInitialPort
      Args[5] = 9876
      Args[6] = -classDir
      Args[7] = /.automount/novo48/root/export/home1/merlin-42/api13/classes
      Persist : getParam : -ORBInitialHost is localhost
      Persist : getInitialSrvcs : InitialNamingContext obtained !
      Persist : get() : name service ...
      No. of Tests :0
      No. of Errors :0
      TieClient: init: completed
      Thread-0: Any Typejava.lang.OutOfMemoryError

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

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

        Attachments

          Activity

            People

            Assignee:
            hputtaswsunw Hemanth Puttaswamy (Inactive)
            Reporter:
            kotlsunw Kotl Kotl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: