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

JCK14, api/java_rmi, x86, b71, merlin, c2Xcomp, 10 tests failed

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      x86
    • OS:
      generic, linux, windows_nt
    • Verification:
      Verified

      Description

      JDK : 1.4.0-beta-b71
      JCK : jck1.4
      Platform[s] : Failed only on Solaris Intel for all platforms, Passed on Sparc
      Switch/Mode : -Server -Xcomp only, Passed for other switches.
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : 10 tests

      1) api/java_rmi/CreateTest.html
      2) api/java_rmi/server/RemoteObject/index.html#Equals
      3) api/java_rmi/server/RemoteObject/index.html#HashCode
      4) api/java_rmi/server/RemoteObject/index.html#ToString
      5) api/java_rmi/server/RemoteServer/index.html#GetClientHost
      6) api/java_rmi/Naming/index.html#List
      7) api/java_rmi/Naming/index.html#Lookup
      8) api/java_rmi/Naming/index.html#Unbind
      9) api/java_rmi/Naming/index.html#Bind
      10) api/java_rmi/Naming/index.html#Rebind

      Test source location:
      =====================
      1)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_rmi/CreateTest.java
      2)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_rmi/server/RemoteObject/EqualsTests.java
      3)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_rmi/server/RemoteObject/HashCodeTests.java
      4)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_rmi/server/RemoteObject/ToStringTests.java
      5)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_rmi/server/RemoteServer/GetClientHostTests.java
      6)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_rmi/Naming/BindTests.java
      7)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_rmi/Naming/UnbindTests.java
      8)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_rmi/Naming/RebindTests.java
      9)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_rmi/Naming/LookupTests.java
      10)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_rmi/Naming/ListTests.java

      jtr file location:
      ==================

      1) file:///net/jtgb4u4c/export/sail16/results/merlin/b71/jck14/i386/s8_server_comp_jtg-i116/workDir/api/java_rmi/CreateTest.jtr
      2) file:///net/jtgb4u4c/export/sail16/results/merlin/b71/jck14/i386/s8_server_comp_jtg-i116/workDir/api/java_rmi/server/RemoteObject/index_HashCode.jtr
      3)
      file:///net/jtgb4u4c/export/sail16/results/merlin/b71/jck14/i386/s8_server_comp_jtg-i116/workDir/api/java_rmi/server/RemoteObject/index_ToString.jtr
      4)
      file:///net/jtgb4u4c/export/sail16/results/merlin/b71/jck14/i386/s8_server_comp_jtg-i116/workDir/api/java_rmi/server/RemoteObject/index_Equals.jtr
      5)
      file:///net/jtgb4u4c/export/sail16/results/merlin/b71/jck14/i386/s8_server_comp_jtg-i116/workDir/api/java_rmi/server/RemoteServer/index_GetClientHost.jtr
      6)
      file:///net/jtgb4u4c/export/sail16/results/merlin/b71/jck14/i386/s8_server_comp_jtg-i116/workDir/api/java_rmi/Naming/index_Bind.jtr
      7)
      file:///net/jtgb4u4c/export/sail16/results/merlin/b71/jck14/i386/s8_server_comp_jtg-i116/workDir/api/java_rmi/Naming/index_Unbind.jtr
      8)
      file:///net/jtgb4u4c/export/sail16/results/merlin/b71/jck14/i386/s8_server_comp_jtg-i116/workDir/api/java_rmi/Naming/index_Rebind.jtr
      9)
      file:///net/jtgb4u4c/export/sail16/results/merlin/b71/jck14/i386/s8_server_comp_jtg-i116/workDir/api/java_rmi/Naming/index_List.jtr
      10)
      file:///net/jtgb4u4c/export/sail16/results/merlin/b71/jck14/i386/s8_server_comp_jtg-i116/workDir/api/java_rmi/Naming/index_Lookup.jtr

      How to reproduce:
      ====================
      Run the attached script
        
      1) rmi_Create.ksh -server -Xcomp
      2) rmi_server_RemoteObjectEquals.ksh -server -Xcomp
      3) rmi_Naming_List.ksh -server -Xcomp

      --------Script START---------------------
      #!/bin/ksh
      SWITCH=${1+$@}
      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
      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.api.java.rmi.CreateTest"
      excludeCmd=
      executeClassArgs=
      executeTestURL=
      headless=
      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/jck.auth.policy -Djava.security.auth.login.config=${JCK}/lib/jck.auth.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}

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

      Test output:
      =============
      java.net.MalformedURLException: invalid URL string: rmi://:1200/Create
              at java.rmi.Naming.parseURL(Naming.java:269)
              at java.rmi.Naming.rebind(Naming.java:156)
              at javasoft.sqe.tests.api.java.rmi.CreateTest.run(CreateTest.java:105)
              at javasoft.sqe.tests.api.java.rmi.CreateTest.main(CreateTest.java:132)
      Caused by: java.net.URISyntaxException: Illegal character in path at index 11: rmi://:1200/Create
              at java.net.URI$Parser.fail(URI.java:2178)
              at java.net.URI$Parser.checkChars(URI.java:2349)
              at java.net.URI$Parser.parseHierarchical(URI.java:2431)
              at java.net.URI$Parser.parse(URI.java:2381)
              at java.net.URI.<init>(URI.java:419)
              at java.rmi.Naming.parseURL(Naming.java:220)
              ... 3 more
      STATUS:Failed. An Exception occurred: invalid URL string: rmi://:1200/Create


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

      SunOS jtg-i116 5.8 Generic i86pc i386 i86pc
      SunOS jtg-i103 5.9 Beta i86pc i386 i86pc

      srilakshmi.chappidi@Eng 2001-07-17

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jrose John Rose
                Reporter:
                schappidsunw Srilakshmi Chappidi (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: