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

Pressing 'ESC' on menu-items of sub-menus makes the whole menu disappear on winXP and exceptions

    Details

    • Subcomponent:
    • Resolved In Build:
      b87
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      Java Version: jdk1.6.0-beta2-b83 and early builds
      Platforms: windowsXPpro ladybird.sfbay

      Problems:
      Running a regression test PopupMenuKeyHandling.java, it fails in winXP and threw exceptions,
      but it is OK in solaris 10.

      Log file as following:
      The test failed: Probable cause : incorrect ESC handling
      The test is over, hit Ctl-C to stop Java VM
      Exception in thread "main" java.lang.RuntimeException: Probable cause : incorrec
      t ESC handling
              at PopupMenuKeyHandling.fail(PopupMenuKeyHandling.java:315)
              at PopupMenuKeyHandling.init(PopupMenuKeyHandling.java:156)
              at PopupMenuKeyHandling.main(PopupMenuKeyHandling.java:241)

      To reproduce the problem:

      Compile and run the attached regression test.

      or get test from
      /java/re/jdk/1.6.0/promoted/all/b83/ws/j2se/test/java/awt/PopupMenu/PopupMenuKeyHandling/PopupMenuKeyHandling.java
      The bug has been fixed and verified.

        Attachments

          Activity

            People

            • Assignee:
              vbaranovsunw Vyacheslav Baranov (Inactive)
              Reporter:
              ttzhang Tao Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: