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

JCK-runtime-13rc1 drag and drop test hangs the terminal

    XMLWordPrintable

Details

    • x86, sparc
    • solaris_2.6, solaris_7, solaris_8

    Description

      JCK-interactive test failure on Solaris 5.7, 8 (x86/openwin) for JDK_1.3.b01.

      Name of the failing test: JCK-runtime-13rc1/tests/api/java_awt/interactive/DnDTests.html#DnDTests jck_exec
      ute_positive DnDTests_DnDTests. This Drag and Drop test failed on both Solaris 5.7 and Solaris 8 on x86 platform (Openwin). The screen doesn't respond to the cursor.

      Description of the failure:
      I used the following script to run the test.

      bkante@jtg-i113$ /usr/java1.3/bin/java -fullversion
      java full version "katleman.2000.02.08.15.58"

      bkante@jtg-i113$ DnDTests_DnDTests.ksh

      #!/bin/ksh

      PATH=/usr/java1.3/bin:/bin
      DISPLAY=jtg-i113:0.0
      CLASSPATH=/export/home/jtg-test/tonga_1.3.b01/hotspot/jtg-i113/JCK-runtime-13rc1
      et/ultraowl.eng/export/ultraowl1/javatb/testbase/src/JCK-runtime-13rc1/classes:/
      K-runtime-13rc1/javatest.jar
      LD_LIBRARY_PATH=/net/ultraowl.eng/export/ultraowl1/javatb/testbase/src/JCK-runti

      while [ $# -gt 0 ];
      do
        if [ $1 = "-jdk" ]; then
          shift 1
          PATH=${1}/bin:${PATH}
          shift 1
        else
          if [ $1 = "-d" ]; then
            shift 1
            if [ $# -gt 0 ]; then
              DISPLAY=$1
              shift 1
            else
              DISPLAY=:0.0
            fi
          fi
        fi
      done

      export PATH
      export DISPLAY
      export CLASSPATH
      export LD_LIBRARY_PATH
      /usr/java1.3/bin/java -hotspot -Djava.security.policy=/net/ultraowl.eng/export/ultraowl1/javatb/testbase/src/JCK-runtime-13rc1/lib/jck.p
      olicy -Xfuture javasoft.sqe.tests.api.java.awt.interactive.DnDTests -TestCaseID ALL

      Run the test and drag and drop the components for atleast 15 times. The cursor will stop working and the screen also doesn't respond to any action. This failure occures during the second test case.

      bhoopal.kante@eng 2000-02-16

      Updated script:
      ================

      x86-chunnu:[61]% cat DnDTests.ksh
      #!/bin/ksh

      SWITCH=${1}
      PATH=/usr/java1.2/bin:/bin
      DISPLAY=`uname -n`:0.0

      TESTBASE=/net/ultraowl.eng/export/ultraowl1/javatb/testbase
      JCK=${TESTBASE}/src/JCK-runtime-13fcs
      CLASSPATH=.:${JCK}/classes:${JCK}/javatest.jar
      PATH=/usr/java1.2/bin:/bin

      export DISPLAY CLASSPATH PATH

      echo
      java ${SWITCH} -version
      echo
      java ${SWITCH} -Djava.security.policy=${JCK}/lib/jck.policy -verify javasoft.sqe.tests.api.java.awt.interactive.DnDTests -TestCaseID DnDTest0002

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

      Observation from Openwin:

      This problem is still there in current b21 release. Repeatedly dragging components from left panel and dropping into the right panel will freeze up the mouse cursor and the entire openwin session is hung up.

      Observation from CDE:

      The process aborts with "native code exception" rather than just a frozen X session. Please see
      bugID 4349615 for more detail.

      vincent.lee@eng 2000-06-29

      I have attached a stand-alone test case.
      david.mendenhall@eng 2000-07-27

      Attachments

        Issue Links

          Activity

            People

              dmendenhsunw David Mendenhall (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: