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

TEST_BUG: Regtest-test .../4673367/KeyTest.java fails on linux, solaris

XMLWordPrintable

    • mantis
    • x86
    • linux, solaris_8
    • Verified



      Name: asR10013 Date: 09/24/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b02
      Testbase : RegTest-test
      Platform[s] : RedHat Linux 7.2 (GNOME), Solaris 8 (sparc), Solaris 8 (x86)
      Falling test[s]:
              javax/swing/JComboBox/4673367/KeyTest.java

      The Regtest-test test javax/swing/JComboBox/4673367/KeyTest.java fails on JDK1.4.2-b02.
      This is a new test for the integrated in mantis bug 4673367.
      The failure occures because the test is intended for the windows platform only but
      the runTest member, which is set in the KeyTest constructor's exception handler
      to 'false' on Linux or Solaris, is not analysed in the main method and the test
      hangs in KeyTest.blockTillDone().

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b02/regtest/linux/redhat7.2_gnome_smp__linux-24/workDir/test/javax/swing/JComboBox/4673367/KeyTest.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change variables)
       
      --- script start ---
      #!/bin/bash

      PS=':'
      JDK=/net/linux-15/export/home/java/jdk1.4.2/linux
      TEST_BASE=/net/linux-15/export/home/java/regtest
      TEST_BASE_ROOT=$TEST_BASE/test
      TEST_PACKAGE=javax/swing/JComboBox/4673367
      TEST_SHORT_NAME=KeyTest
      TEST_NAME=$TEST_PACKAGE/$TEST_SHORT_NAME
      JT=/net/linux-15/export/home/java/jct/lib/javatest.jar
      JTREG=/net/linux-15/export/home/java/jct/lib/jtreg.jar

      TEST_SRC=$TEST_BASE_ROOT/${TEST_NAME}.java

      export CLASSPATH=.${PS}${JDK}${PS}${JDK}/lib/tools.jar${PS}${TEST_BASE}${PS}${TEST_BASE_ROOT}/${TEST_PACKAGE}${PS}${JT}${PS}${JTREG}

      $JDK/bin/javac -g -classpath $CLASSPATH -d . $TEST_SRC

      $JDK/bin/java -cp $CLASSPATH $TEST_SHORT_NAME

      --- script end ---

      Test output:
      ============
      <nothing, the test hangs>


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

            mdavidsosunw Mark Davidson (Inactive)
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: