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

JCK14 api/java_awt/Robot/index.html#createcap hang using d64

XMLWordPrintable

    • rc1
    • x86, sparc
    • solaris_8, windows_2000
    • Verified

      The test passed if you run it one Solaris 8 update 5. However, if you have Solaris 8 FCS with the JDK1.4 requried patchs, it will failed.
        List of requried pathcs: http://java.sun.com/j2se/1.4/install-solaris-patches.html#2.8


      JDK : 1.4.0-beta-b79
      JCK : jck1.4
      Platform[s] : Solaris Sparc
      switch/Mode : -d64 --failed
                       -c1, -c2 --passed
                     
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test :
       api/java_awt/Robot/index.html#createcap

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/Robot/CreateCapture.java

      jtr file location:
      ==================
      file:///net/jtgb4u4c/export/sail16/results/merlin/b79/jck14/sparc/s8_client_d64_jtg-s115/workDir/api/java_awt/Robot/index_createcap.jtr

      How to reproduce:
      ====================
      run the attached script. ( if remote login to the test machine, test machine needs to be "xhost +" on the console)
       
          createcap.ksh
      --------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
      JCK=${TESTBASE}/JCK-runtime-14
      executeClass="javasoft.sqe.tests.api.java.awt.Robot.CreateCapture"
      excludeCmd=
      executeClassArgs="-TestCaseID ALL"
      executeTestURL="-platform.robotAvailable true"

      headless=

      #executeContextArgs is used for vm testing.
      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:
      =====================

      No output..

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

      jtg-s120: - Failed.

      SunOS jtg-s115 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-60

                                Solaris 8 s28_38shwp2 SPARC
                 Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
                                  Assembled 21 January 2000

      JTG-S117: - Failed
                         Solaris 7 11/99 s998s_u4SunDesktop_10 SPARC
                 Copyright 1999 Sun Microsystems, Inc. All Rights Reserved.
                                  Assembled 15 October 1999

      maya: - Passed.

                              Solaris 8 7/01 s28s_u5wos_08 SPARC
                 Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
                                   Assembled 06 June 2001



      ###@###.### 2001-09-17

            bchristi Brent Christian
            tacheung Tak Wing Cheung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: