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

Regression-test javax/swing/AbstractButton/4105766/bug4105766.java fails

XMLWordPrintable

      Name: iaR10016 Date: 03/16/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b42, JDK1.4.2-b28
      Testbase : Regression-test
      Platform[s] : all
      switch/Mode : -client
      Falling test[s]: javax/swing/AbstractButton/4105766/bug4105766.java

      Regression manual test javax/swing/AbstractButton/4105766/bug4105766.java test fails with
      JDK1.5.0-b42 on all platforms.

      Test Description reads:
      ...
      When applet starts, you'll see a combobox and four buttons: JButton, JCheckBox, JRadioButton and JToggleButton.
      All the four must have yellow background. If it is not so, the test fails.
      Use the leftmost combo box to set the look-and-feel.
      The buttons must have yellow background under all look-and-feels supported on your platform.
      ...

      Please, run the script from "How to reproduce" sections and select "Motif" look-and-feel in leftmost combobox.
      Four tested buttons should have yellow background, however this is not true for "ToggleButton" button: it has
      grey background instead.

      This bug is not reproducible for "Metal" and "Windows" look-and-feels.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/beta2/b42/ws/j2se/test/javax/swing/AbstractButton/4105766/bug4105766.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b42/regtest/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/test-manual/javax/swing/AbstractButton/4105766/bug4105766.jtr

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

      #Paths in Java Software:
      TESTJAVA="/java/re/jdk/1.5.0/promoted/all/b42/binaries/linux-i586"
      TESTBASE="/java/re/jdk/1.5.0/promoted/all/b42/ws/j2se/test"

      #Alternative paths outside Java Software
      #TESTJAVA="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b42/binaries/linux-i586"
      #TESTBASE="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b42/ws/j2se/test"

      #Alternative paths for the NSK site:
      #TESTJAVA="/net/linux-15/export/home/java/jdk1.5.0/linux"
      #TESTBASE="/net/linux-15/export/home/java/regtest.tiger/test"

      cp $TESTBASE/javax/swing/AbstractButton/4105766/* ./
      $TESTJAVA/bin/javac bug4105766.java
      $TESTJAVA/bin/appletviewer -Xnosecurity bug4105766.html
      --- script end ---

      Specific machine info:
      ======================
      Hostname: linux-8
      OS: Solaris 10 (sparc) (GNOME)

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

            Unassigned Unassigned
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: