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

REGRESSION: JCK1.5 api/javax_swing/interactive/JMenuItemTests.html#JMenuItem

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b32
    • CPU:
      x86, sparc
    • OS:
      solaris_8, solaris_10
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 11/25/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b29
                       (not reproducible with JDK1.5.0-b28, JDK1.4.2-b28)
      JCK : JCK1.5-runtime (b08)
      Platform[s] : Solaris sparc, Solaris x86
                       (tested on Solaris 10 sparc/GNOME2, Solaris 9 sparc/CDE,
                        Solaris 9 x86/CDE, Solaris 8 x86/OpenWin)
                       not reproducible on Linux and Windows systems
      switch/Mode : default
      JCK test owner: http://javaweb.eng/jck/usr/owners.jto
      Falling test : api/javax_swing/interactive/JMenuItemTests.html#JMenuItem[JMenuItemTest0004]

      JCK1.5-runtime api/javax_swing/interactive/JMenuItemTests.html#JMenuItem[JMenuItemTest0004]
      test fails with JDK1.5.0-b29 on Solaris systems.

      Please, run the script from "How to reproduce" section to reproduce the failure.

      Testcase JMenuItemTest0004 Description reads:
      ...
      This test veirifies the behavior of setAccelerator(KeyStroke).
      Please verify that the panel below has a menubar with one menu and 4 items in it.
      Besides using the mouse to maneuver and select the menu items, they can also be
      selected by holding down the Meta-key/ALT and pressing 'm' to bring up the menu
      and follow by pressing 'Shift'+'1/2/3/4' to select the menu item.
      The menu item selection status is reflected into the corresponding radio button.
      ...

      Alt+'m' pressing correctly bring up the menu, however, Shift+'1/2/3/4' pressing does not
      select corresponding menu item.

      This failure is not reproducible with previous JDK builds.

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_swing/interactive/JMenuItemTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b29/jck15/sparc/sol10_sparc_gnome_plugin_mz1.2_linux-8/workDir/api-interactive/javax_swing/interactive/JMenuItemTests_JMenuItem.jtr

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

      --- script start ---
      #!/bin/bash

      #Paths in Java Software:
      JDK="/java/re/jdk/1.5.0/promoted/all/b29/binaries/solaris-sparc"
      JCK="/java/re/jck/1.5/promoted/beta/b08/binaries/JCK-runtime-15"

      #Alternative paths outside Java Software:
      #JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b29/binaries/solaris-sparc"
      #JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b08/binaries/JCK-runtime-15"

      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      $JDK/bin/java javasoft.sqe.tests.api.javax.swing.interactive.JMenuItem.JMenuItemTests -TestCaseID JMenuItemTest0004 -TestDirURL file://$JCK/tests/api/javax_swing/interactive/JMenuItemTests.html#JMenuItem
      --- script end ---

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

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              naoto Naoto Sato
              Reporter:
              irasunw Ira Ira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: