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

RegTest-test java/awt/Clipboard/PasteNullToTextComponentsTest/ failed, Linux

    Details

    • Subcomponent:
    • Resolved In Build:
      mantis
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description



      Name: aaR10208 Date: 10/30/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b04
      Testbase : RegTest-test
      Platform[s] : RedHat Linux 8.0 (GNOME)
      switch/Mode : -client -Xmixed -Xfuture
      Falling test[s]: java/awt/Clipboard/PasteNullToTextComponentsTest/PasteNullToTextComponentsTest.html

      RegTest-test java/awt/Clipboard/PasteNullToTextComponentsTest/PasteNullToTextComponentsTest.html
      test fails on RH Linux 8.0 using JDK1.4.2-b04.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b04/regtest/linux/redhat8.0_gnome_linux-11/java/awt/Clipboard/PasteNullToTextComponentsTest/PasteNullToTextComponentsTest.jtr

      How to reproduce:
      =================
      Run the following script on RH Linux 8.0 (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh
      TESTJAVA="/net/jdk/export/disk8/local.java/jdk1.4.2/linux-i386"
      TEST_BASE="/java/re/jdk/1.4.2/latest/ws/j2se/"
      #TESTJAVA="/net/linux-15/export/home/java/jdk1.4.2/linux"
      #TEST_BASE="/net/linux-15/export/home/java/regtest"
      TEST_PATH="$TEST_BASE/test/java/awt/Clipboard/PasteNullToTextComponentsTest"
      TEST_NAME="PasteNullToTextComponentsTest"
      $TESTJAVA/bin/javac -g -classpath "$CLASSPATH" -d . $TEST_PATH/$TEST_NAME.java
      cp $TEST_PATH/$TEST_NAME.html .
      $TESTJAVA/bin/appletviewer -J-showversion -Xnosecurity $TEST_NAME.html
      --- script end ---

      Test output:
      ============
      java version "1.4.2-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b04)
      Java HotSpot(TM) Client VM (build 1.4.2-beta-b04, mixed mode)


      Warning: disabling security.

      TextArea text=ac TextField text=abc
      java.lang.RuntimeException: test failed: wrong behavior of text component on pasting null
              at PasteNullToTextComponentsTest.start(PasteNullToTextComponentsTest.java:202)
              at sun.applet.AppletPanel.run(AppletPanel.java:372)
              at java.lang.Thread.run(Thread.java:536)



      Specific machine info:
      ======================
      Hostname: linux-11
      OS: RedHat Linux 8.0 (GNOME)



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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                agerasimsunw Alexander Gerasimov (Inactive)
                Reporter:
                sundrsunw Sundr Sundr (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: