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