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

JCK 14a failure: api/javax_swing/interactive/JMenuItemTests setAccelerator(KeyStroke) Test

    XMLWordPrintable

Details

    • generic
    • linux

    Description

      api/javax_swing/interactive/JMenuItemTests [JMenuItemTest0004] is behaving differently on differnt versions of linux:

      This test requires the tester to press [Shift-1] through [Shift-4] to select 4 menu items. When the accelerator keys are used, an option showing which one was used indicates this.

      When testing on RHEL3, JDS R3 b27, Suse 9.2 Pro the [Shift-3] combination does not do anything. All other combinations however, DO select the 1st, 2nd and 4th Menu Option.

      I expected this to be a testcase bug (as it may be) but when I ran the test on RHEL4 and JDS R3 b21 the [Shift-3] key worked as expected. It also works OK on Windows.

      This is not a regression as it happens in 1.4.2-b28. It also happens in 5.0u3.

      There have been several bugs logged against this test case, but none (that i can find) are the same as this issue, see the related CRs for these.

      The test location for your reference is:

      /net/latte.ireland/export/home4/jck/JCK-runtime-14a/tests/api/javax_swing/interactive/JMenuItemTests.java

      ###@###.### 2005-03-04 14:58:50 GMT

      This morning I ran the test on my sunray (sol 9 sparc) and the test failed also, indicating this is not a platform dependant issue. It also failed on a Solaris 8 sparc machine.

      I then tried it on Solaris 10 x86 b74. In both CDE & JDS the [Shift-3] key worked as expected.
      ###@###.### 2005-03-07 12:00:21 GMT

      Attachments

        Issue Links

          Activity

            People

              dav Andrei Dmitriev (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: