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

REGRESSION: Regression-cte 4107667/Test4107667.java fails on Win98,Suse8.2

    XMLWordPrintable

Details

    • beta
    • x86
    • linux_suse_sles_8.2, solaris_8, windows_98

    Description



      Name: vsR10238 Date: 09/30/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b21
      Testbase : Regression-cte
      Platform[s] : Windows 98, Suse Linux 8.2 (Gnome)
      Falling test[s]:
               CTE_REGTEST/Generic/4107667/Test4107667.java

      Regression-cte CTE_REGTEST/Generic/4107667/Test4107667.java test fails on
      Windows 98, Suse Linux 8.2 (Gnome)
      with JDK1.5.0 (tested with b21, b19). The test passes on these platforms with JDK1.4.2-b28.

      The test passes on other platforms as with JDK1.5.0 as with JDK1.4.2.

      The following observations were made using JDK1.5.0-b21 on Windows 98:

      The test fails because the mnemonic characters ("a" and "b")
      are appended to the end of "AAction" or "BAction" in the text field.

      If I run Bug4107667.java manually and click "a" and "b",
      these shortcuts are handled correctly, "AAction" or "BAction"
      appear in the text field and mnemonic characters are appended
      to the text very rarely (but sometimes they do).

      I tried to change system keyboard settings. I set the longest repeat delay
      and the slowest repeat rate. It didn't help.



      Test source location:
      =====================
      /net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4107667/Test4107667.java


      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/sh
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir

      #KOORI_ONESTOP is your path to koori.sfbay/onestop (/net/koori/onestop, /java/re)
      KOORI_ONESTOP="z:"
      #JPSE04 is your path to /net/jdk/export/jpse04
      JPSE04="x:"

      #JT_HOME="h:/java/jct"
      JT_HOME="$KOORI_ONESTOP/jct-tools/3.1.2/archive/fcs/binaries"
      #JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
      JEMMY_JAR="$JPSE04/Jemmy/jemmy.jar"
      #JAVA_HOME="h:/java/jdk1.5.0/win32"
      JAVA_HOME="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b18/binaries/windows-i586"

      #TEST_BASE_PATH="h:/java/regtest.tiger/cte"
      TEST_BASE_PATH="$JPSE04/Regression/1.5.0/test"


      TESTVMOPTS="-client"
      CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"

      TEST="CTE_REGTEST/Generic/4107667/Test4107667.java"

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,SystemRoot=$SystemRoot,PATH=${SHELL%/*},CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-16" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/$TEST"

      --- script end ---

      Test output (jtr part):
      =======================

      ----------System.out:(15/2089)----------
      Trace:
      Start to wait frame "Any javax.swing.JFrame" opened
      Trace:
      Frame "Any javax.swing.JFrame" has been opened in 0 milliseconds
           Bug4107667[frame0,100,100,200x150,layout=java.awt.BorderLayout,title=,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[
      Trace:
      Start to wait action "Wait Any javax.swing.JTextField loaded"
      Trace:
      "Wait Any javax.swing.JTextField loaded" action has been produced in 0 milliseconds with result
           : javax.swing.JTextField[,30,30,100x25,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.basic
      Navigation by accelerator key 'a' doesn't work
      Clearing text in text component
           : javax.swing.JTextField[,30,30,100x25,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.basic
      Navigation by accelerator key 'b' doesn't work
      Test Failed
      ----------System.err:(13/701)----------
      java.lang.RuntimeException: Test Failed
               at Test4107667.main(Test4107667.java:112)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:324)
               at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
               at java.lang.Thread.run(Thread.java:549)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test Failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test Failed
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test Failed


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test Failed




      Specific machine info:
      ======================
      Hostname: linux-17
      OS: Windows 98
      Hostname: linux-2
      OS: Suse Linux 8.2

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

      Attachments

        Issue Links

          Activity

            People

              asaha Abhijit Saha
              vshsunw Vsh Vsh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: