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

The ALT key can not work with any key

XMLWordPrintable

      Testsuite name: JCK manual
      Test name:api/javax_swing/interactive/JMenuItemTests.html#JMenuItem
      Product tested: JDK 9 b120 64bit
      OS/architecture:OS/architecture:Mac10.11-x64
       
      Reproducible: Always
      Reproducible on machine: Evergreen-machine
      [If Sometimes] Also reproducible on machine:

      Is it a Regression: Yes
      [If Regression] Regression introduced in release/build:9 b120
      (JDK 9 b119 on the same OS: Pass)

      Test result on the last GAed release for this train:
      [if Fail] Test result on FCS:

      Is it a platform specific issue: Yes(same build with Oel6.4 UEK x64:Pass
                                                        same build with Solaris11.3-x64:Pass
                                                        same build with Win10 x64:Pass)
                                    

      Is it a new (previously unsupported) OS/browser/mode testing: No
      [If new configuration testing] Issue specific to execution mode or OS/browser version:

      Steps to reproduce:
      1. Install test bundle jdk-9-ea+120_osx-x64_bin.dmg to /Library/Java/JavaVirtualMachines/jdk-9.jdk
      2. Download the JCK-runtime-9.jar from /java/re/jck/9/promoted/ea/b36/bundles/JCK-runtime-9.jar to /var/root/jck and use /Library/Java/JavaVirtualMachines/jdk-9.jdk -jar JCK-runtime-9.jar to unzip it
      3./Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/bin/java -showversion -cp /var/root/jck/JCK-runtime-9/classes:/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/lib/tools.jar -Djava.security.policy=/private/var/root/jck/JCK-runtime-9/lib/jck.policy javasoft.sqe.tests.api.javax.swing.interactive.JMenuItem.JMenuItemTests -TestCaseID ALL -TestDirURL file:/private/var/root/jck/JCK-runtime-9/tests/api/javax_swing/interactive/JMenuItemTests.html#JMenuItem



      Descriptions:
      This test verifies the mnemonic behavior of JMenuItem(String, int) constructor.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 look and feel's mouseless modifier (for example, the ALT key) and pressing 'm' to bring up the menu, followed by pressing '1/2/3/4' to select the menu item.The menu item selection status is reflected into the corresponding radio button.

      Actual behavior:
      When holding down the look and feel's mouseless modifier(for example, the ALT key or CTRL+ALT or Command+ALT) and pressing 'm',the menu can't be bring up.

      The following case has the same issue:
      api/javax_swing/interactive/JButtonTests.html#JButton (JButtonTest0010.)
      api/javax_swing/interactive/JToggleButtonTests.html#JToggleButton (JToggleButtonTest0009)
      api/javax_swing/interactive/JTextAreaTests.html#JTextArea (JTextAreaTest0028)

            mhalder Manajit Halder (Inactive)
            michaelw Michael Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: