--- old/src/java.desktop/macosx/classes/sun/lwawt/macosx/NSEvent.java 2016-07-04 00:29:39.000000000 +0530 +++ new/src/java.desktop/macosx/classes/sun/lwawt/macosx/NSEvent.java 2016-07-04 00:29:39.000000000 +0530 @@ -254,7 +254,7 @@ * There is a small number of NS characters that need to be converted * into other characters before we pass them to AWT. */ - static native char nsToJavaChar(char nsChar, int modifierFlags); + static native char nsToJavaChar(char nsChar, int modifierFlags, boolean spaceKeyTyped); static boolean isPopupTrigger(int jmodifiers) { final boolean isRightButtonDown = ((jmodifiers & InputEvent.BUTTON3_DOWN_MASK) != 0);