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

REGRESSION: java/awt/Clipboard/PasteNullToTextComponentsTest/PasteNullToTextComp

    Details

    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      x86
    • OS:
      linux, linux_redhat_8.0
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 09/01/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b17, JDK1.5.0-b16, JDK1.5.0-b15
                     (passes with JDK1.5.0-b14, JDK1.4.2-b28)
      Testbase : Regression-test
      Platform[s] : RedHat Advanced Server 2.1 (Gnome), Suse Linux 8.2 (Gnome2), Suse Linux 8.1 (Gnome2)
                     (passes on Solaris sparc, Solaris x86, Windows systems)
      switch/Mode : all
      Falling test: java/awt/Clipboard/PasteNullToTextComponentsTest/PasteNullToTextComponentsTest.html

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/java/awt/Clipboard/PasteNullToTextComponentsTest/PasteNullToTextComponentsTest.html

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b17/regtest/linux/redhat_advserver21_gnome_smp_linux-24/workDir/test/java/awt/Clipboard/PasteNullToTextComponentsTest/PasteNullToTextComponentsTest.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change it's variables):
      --- script start ---
      #!/bin/sh
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="/net/linux-15/export/home/java/jct"
      JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/linux"
      TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
      TESTVMOPTS="-server"
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
      TEST="java/awt/Clipboard/PasteNullToTextComponentsTest/PasteNullToTextComponentsTest.html"

      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,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-24" -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:(0/0)----------
      ----------System.err:(6/468)----------
      TextArea text=abc TextField text=abc
      java.lang.RuntimeException: test failed: wrong behavior of text component on pasting null
           at PasteNullToTextComponentsTest.start(PasteNullToTextComponentsTest.java:208)
           at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:133)
           at java.lang.Thread.run(Thread.java:549)
      STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: test failed: wrong behavior of text component on pasting null
      result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: test failed: wrong behavior of text component on pasting null

      Specific machine info:
      ======================
      Hostname: linux-24
      OS: RedHat Advanced Server 2.1 (Gnome)
      Hostname: linux-2
      OS: Suse Linux 8.2 (Gnome2)

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dassunw Das Das (Inactive)
                Reporter:
                irasunw Ira Ira (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: