JDK-4450539 : JCK1.3a: interactive: Test stop responding to keyboard in JMenuItem,b61.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: x86,sparc
  • Submitted: 2001-04-25
  • Updated: 2001-08-02
  • Resolved: 2001-08-02
Related Reports
Relates :  
Relates :  
Description
Bug description :
================
The test stop responding to Keyboard when the test is tried more then once using accelator key. 
****************************************************************************

Failing Test:
=============
api/javax_swing/interactive/JMenuItemTests.html#JMenuItem

JCK : 
=====
jck1.3a

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

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

jtr file location:
==================
file:/net/jtg-i108/export/home/jtg-test/JH_JDK14_b60_jck13a_C1Xmixed/workDir/api/javax_swing/interactive/JMenuItemTests_JMenuItem.jtr

How to reproduce:
====================
1. Run the attached script.(interactive_JMenuItemTest0003.ksh)
2. Press Alt+m to bring up popup menu.
3. Select anyone MenuItem
3. Press Alt+m again to bring up popup menu.
4. The KeyBoard will not Response when the test tried more then once.

You will see the keyboard does not response at all.

Specific Machine Info:
=====================
X86:
====
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b61)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b61, mixed mode)
jtg-i108>info
Hostname: jtg-i108
Hostid: 2e59ad5f
Release: 5.8
Kernel architecture: i86pc
Application architecture: i386
Hardware provider: 
Domain: javasoft.eng.sun.com
Kernel version: SunOS 5.8 Generic February 2000
===========
Status of processor 0 as of: 04/24/01 17:26:37
  Processor has been on-line since 04/04/01 17:31:40.
  The i386 processor operates at 200 MHz,
        and has an i387 compatible floating point processor.
Status of processor 1 as of: 04/24/01 17:26:37
  Processor has been on-line since 04/04/01 17:31:43.
  The i386 processor operates at 200 MHz,
        and has an i387 compatible floating point processor.
===========
                           Solaris 8 s28_38shwp2 INTEL
           Copyright 2000 Sun Microsystems, Inc.  All Rights Reserved.
                            Assembled 21 January 2000
Sparc:
======
Hostname: jtg-s111
Hostid: 808dc389
Release: 5.8
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: javasoft.eng.sun.com
Kernel version: SunOS 5.8 Generic February 2000
===========
Status of processor 0 as of: 04/24/01 18:02:13
  Processor has been on-line since 04/04/01 17:41:54.
  The sparcv9 processor operates at 168 MHz,
        and has a sparcv9 floating point processor.
Status of processor 1 as of: 04/24/01 18:02:13
  Processor has been on-line since 04/04/01 17:41:58.
  The sparcv9 processor operates at 168 MHz,
        and has a sparcv9 floating point processor.
===========
                           Solaris 8 s28_38shwp2 SPARC
           Copyright 2000 Sun Microsystems, Inc.  All Rights Reserved.
                            Assembled 21 January 2000


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


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



sureshchandar.subramaniam@Eng 2001-04-25

Comments
EVALUATION Upon further investigation it appears that after you click on a menu item the radio button gets focus and key events are no longer dispatched to the radio button (processKeyEvent is not invoked). I'm reassigning to awt for further investigation. scott.violet@eng 2001-05-01 The evaluation sounds like a focus issue. Commit to fix in merlin-beta2 (JCK). eric.hawkes@eng 2001-05-03 No longer reproducible on build 1.4.0-beta_refresh-b73 Please verify and confirm bug is no longer reproducible. mike.bronson@eng 2001-08-01
03-05-2001