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

JRE build 1.7.0b43: Incorrect keycode for each key pressed

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      solaris_10

      Description

      Case name: java/awt/event/keyEvent/NumpadTest/NumpadTest.html

      # Steps to reproduce:
      Make sure the NumLock is ON.
      Then, type the following keys/characters in the TextField
      using the numpad keys:
      ----------------------------------------------------
      /*-+

      Verify that the keyChar and keyCode is correct for each key pressed.
      Remember that the keyCode for the KEY_TYPED event should be zero.
      Also verify that the character you typed appears in the TextField.

      Key Name keyChar Keycode
      -------------------------------------
       / Divide / 47 111
       * Multiply * 42 106
       - Subtract - 45 109
       + Add + 43 107

      Now repeat with the NumLock OFF.

      # Actual behavior:
      The keycode is incorrect for each key pressed.

        Attachments

          Activity

            People

            Assignee:
            yan Yuri Nesterenko
            Reporter:
            tonyli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: