--- old/src/java.desktop/share/classes/java/awt/peer/RobotPeer.java 2017-09-08 15:06:52.323481000 +0530 +++ new/src/java.desktop/share/classes/java/awt/peer/RobotPeer.java 2017-09-08 15:06:51.162903300 +0530 @@ -95,6 +95,24 @@ void keyRelease(int keycode); /** + * Simulates a key press of the specified unicode key. + * + * @param key unicode to press + * + * @see Robot#keyPressUnicode(int) + */ + void keyPressUnicode(int key); + + /** + * Simulates a key release of the specified unicode key. + * + * @param key unicode to release + * + * @see Robot#keyReleaseUnicode(int) + */ + void keyReleaseUnicode(int key); + + /** * Gets the RGB value of the specified pixel on screen. * * @param x the X screen coordinate