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

[Windows] robot.keyPress(KeyEvent.VK_ALT_GRAPH) throws java.lang.IllegalArgumentException in windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Resolved In Build:
      b120
    • OS:
      windows

      Description

      robot.keyPress(KeyEvent.VK_ALT_GRAPH) throws java.lang.IllegalArgumentException in windows,
       
      Exception in thread "main" java.lang.IllegalArgumentException: Invalid key code
                      at sun.awt.windows.WRobotPeer.keyPress(java.desktop@9-internal/Native Method)
                      at java.awt.Robot.keyPress(java.desktop@9-internal/Robot.java:353)

        Attachments

          Activity

            People

            Assignee:
            arapte Ambarish Rapte
            Reporter:
            mhalder Manajit Halder (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: