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

JCK14, api/java_awt/dnd/DragSourceContext/index.html#Ctor, sparc, x86, b73

    Details

    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      generic

      Description

      JDK : JDK1.4.0-beta_refresh-b73
      JCK : JCK1.4-b06
      Platform[s] : Solaris Sparc/Intel, Failed on all OS.
      switch/Mode : -client (on all switches)
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/java_awt/dnd/DragSourceContext/index.html#Ctor
                [DragSourceContext0008, DragSourceContext0009, DragSourceContext0010]

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

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail16/results/merlin/b73/jck14/sparc/s8_client_jtg-s112/workDir/api/java_awt/dnd/DragSourceContext/index_Ctor.jtr

      How to reproduce:
      ==================
      DragSourceContext_Ctor.ksh

      --------Script Start---------------------
      #!/bin/ksh
      SWITCH=${1+$@}
      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
      TESTBASE=/net/jtgb4u4c.eng/export/sail16/JCK/jck14
      JCK=${TESTBASE}/JCK-runtime-14

      executeClass="javasoft.sqe.tests.api.java.awt.dnd.DragSourceContext.CtorTests"
      excludeCmd=
      executeClassArgs=
      executeTestURL=
      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.policy=${JCK}/lib/jck.auth.login.config ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
      --------End Script-------------------------


      Test output:
      =============
      DragSourceContext0008: Failed. NullPointerException expected.
      java.lang.IllegalArgumentException: Component
              at java.awt.dnd.DragSourceContext.<init>(DragSourceContext.java:167)
              at javasoft.sqe.tests.api.java.awt.dnd.DragSourceContext.DummyDragSourceContext.<init>(DummyDragSourceContext.java:22)
              at javasoft.sqe.tests.api.java.awt.dnd.DragSourceContext.CtorTests.DragSourceContext0009(CtorTests.java:369)
              at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Method.java:311)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:135)
              at javasoft.sqe.tests.api.java.awt.dnd.DragSourceContext.CtorTests.main(CtorTests.java:95)
      DragSourceContext0009: Failed. Test case throws exception: java.lang.IllegalArgumentException: Component
      java.lang.IllegalArgumentException: DragSource
              at java.awt.dnd.DragSourceContext.<init>(DragSourceContext.java:163)
              at javasoft.sqe.tests.api.java.awt.dnd.DragSourceContext.DummyDragSourceContext.<init>(DummyDragSourceContext.java:22)
              at javasoft.sqe.tests.api.java.awt.dnd.DragSourceContext.CtorTests.DragSourceContext0010(CtorTests.java:402)
              at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Method.java:311)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:135)
              at javasoft.sqe.tests.api.java.awt.dnd.DragSourceContext.CtorTests.main(CtorTests.java:95)
      DragSourceContext0010: Failed. Test case throws exception: java.lang.IllegalArgumentException: DragSource

      STATUS:Failed.tests: 11; passed: 8; failed: 3; first test case failure: DragSourceContext0008

      Specific Machine Info:
      =====================
      SunOS jtg-i116 5.8 Generic i86pc i386 i86pc
      SunOS jtg-s115 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-60





      srilakshmi.chappidi@Eng 2001-07-30

        Attachments

          Activity

            People

            • Assignee:
              dassunw Das Das (Inactive)
              Reporter:
              schappidsunw Srilakshmi Chappidi (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: