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

JCK1.3a: interactive: Test stop responding to keyboard in JMenuItem.setAccelerat

    XMLWordPrintable

Details

    • beta2
    • x86, sparc
    • linux, solaris_8, windows_95, windows_nt
    • Verified

    Description



      Name: asR10013 Date: 02/15/2001



      Bug description ---> The test stop responding to keyboard after selecting menu item via accelerator.
      ****************************************************************************
      Failing Test:
      =============
      api/javax_swing/interactive/JMenuItemTests.html#JMenuItem

      JCK :
      =====
      jck1.3a

      Test source location:
      ====================
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/javax_swing/interactive/JMenuItemTests.java


      Platforms:
      =============
      Windows 95

      JDK, switches Info:
      ===================
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b51)
      Java HotSpot(TM) Client VM (build B51, mixed mode)

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b51/jck13a/win32/win95_client_linux-19/workDir/api-interactive/javax_swing/interactive/JMenuItemTests_JMenuItem.jtr

      How to reproduce:
      ====================
      1. Run the following script (You may need to set JDK and TESTBASE).
      2. Press Alt+m to bring up popup menu, then Shift+1 to select menu item.
      3. Press Alt+m again.
      4. Also, press "No" button at the bottom of the test window and try to type anything in the "failure details" text field.

      You will see the test does not response to keyboard at all.

      Source
      ======
      #!/bin/ksh

      SWITCH=$@

      JDK=x:/usr/local/java/jdk1.4/win32/
      TESTBASE=x:/net/sqesvr/export/st1/JCK-13a/
      JCK=${TESTBASE}/JCK-runtime-13a/

      executeClass=javasoft.sqe.tests.api.javax.swing.interactive.JMenuItem.JMenuItemTests
      excludeCmd="-TestCaseID JMenuItemTest0004"
      executeClassArgs="-TestDirURL file:///${JCK}tests/api/javax_swing/interactive/JMenuItemTests.html#JMenuItem"
      executeTestURL=""

      CLASSPATH=${JCK}/classes\;${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}
      LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      PATH=$JDK/bin\;$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH

      ${JDK}/bin/java ${SWITCH} -showversion -cp ${CLASSPATH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}

      Test output:
      =============
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b51)
      Java HotSpot(TM) Client VM (build B51, mixed mode)

      Specific Machine Info:
      =====================
      hostname: linux-19

      Additional JCK related info:
      ============================
      URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto


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

      Attachments

        Issue Links

          Activity

            People

              son Oleg Sukhodolsky (Inactive)
              alssunw Als Als (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: