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

java.awt.Robot incorrectly dispatch VK_DELETE on Solaris 10

XMLWordPrintable

    • sparc
    • solaris_10

      Robot incorrectly dispatch VK_DELETE on Solaris 10 sparc. It prints VK_PERIOD (0x2E, ".") instead of VK_DELETE (0x7F). It blocks our UI tests of NetBeans IDE.
      When you run attached jar, it should not print "." at the end but delete one char. The source code is as follows:

          System.out.print("Should not print \".\" but delete last char from 1234: 1234");
          Robot robot = new Robot();
          robot.keyPress(KeyEvent.VK_DELETE);
          robot.keyRelease(KeyEvent.VK_DELETE);
          System.out.println("");

      ###@###.### 2005-06-06 09:08:15 GMT

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: