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

REGRESSION, JCK1.4: api/java_awt/interactive/ComponentTests[ComponentTest008]

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt, windows_2000

      Description

      JDK : 1.4.1-beta-b10
      JCK : jck1.4
      Platform[s] : Windows 2k,NT were tested.
      switch/Mode : -c1
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/java_awt/interactive/ComponentTests.html#ComponentTests

      ======================
      After moving the the ver/horz scrollbars, the rectangle in the scrollbar is blinking when in foucs. It doesn't blink on Merlin.
      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/ComponentTests.java

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

      How to reproduce:
      ====================
      1) map your h: to \\jdk\local-java
      2) run the attached script.
           sh comp8.ksh
      3) move the Horizontal and vertical scrollbars. You will see the rectangle in the scrollbar is blinking when in focus.

      --------Script START---------------------
      #!/bin/ksh
      SWITCH=${1+$@}
      #This is where you want the JDK to be use.
      #Example: JDK=/net/jdk/export/disk8/local.java/jdk1.3.1
      #/usr/local/java/jdk1.4.0_beta_refresh
      #This is where you want the JCK to be use.
      #Example: TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
      case `uname -s` in
       Windows_NT)
         JDK="h:/jdk1.4.1"
         TESTBASE="h:/jck1.4"
      # TESTBASE="z:/sail16/JCK/jck14"
       ;;
        *)
         JDK=/net/jdk/export/disk8/local.java/jdk1.4.1
         TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
         TESTBASE=/net/jtgb4u4c.eng/export/sail16/JCK/jck14
       ;;
      esac


      JCK=${TESTBASE}/JCK-runtime-14
      #JCK=${TESTBASE}/JCK-runtime-13a


      executeClass="javasoft.sqe.tests.api.java.awt.interactive.ComponentTests"
      excludeCmd=
      executeClassArgs="-TestCaseID ComponentTest0008"
      executeteTestURL=
      headless=


      #executeContextArgs is used for vm testing.
      executeContextArgs=


      case `uname -s` in
        SunOS)
         ARCH=`uname -p`
         case $ARCH in
          sparc)
            sharedJDK=$JDK/solaris-sparc
            ;;
          i386)
            sharedJDK=$JDK/solaris-i586
            ;;
         esac
         ;;
        Linux)
         sharedJDK=$JDK/linux-i586
         ARCH=linux
         ;;
        *)
         sharedJDK=$JDK/windows-i586
         ARCH=wintel
         ;;
      esac

      case `uname -s` in
       SunOS | Linux)

        CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
        PATH=$JDK/bin:$sharedJDK/bin:$PATH
        ;;
       *)
        CLASSPATH="${JCK}/classes;${JCK}/javatest.jar"
        PATH="$JDK/bin;$sharedJDK/bin;$CLASSPATH;$PATH"
        ;;

      esac


      DISPLAY=${DISPLAY-$HOST:0.0}

      if `echo $SWITCH|grep "\-d64" >/dev/null`; then
        sharedJDK=$JDK/solaris-sparcv9
        LD_LIBRARY_PATH=${JCK}/lib/sparcv9
      else
        LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      fi

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH

      echo
      java ${SWITCH} -version



      java ${SWITCH} -verify -Xfuture -cp $CLASSPATH -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/java.auth.policy -Djava.security.auth.login.config=${JCK}/lib/java.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeteTestURL}

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

      Test output:
      =============

      Specific Machine Info:
      =====================
      pcorthello: win2k
      jck-win1: winnt
       




      ###@###.### 2002-05-03

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmikhalksunw Denis Mikhalkin (Inactive)
              Reporter:
              tacheung Tak Wing Cheung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: