JDK-7196547 : [macosx] Implement dead key detection for KeyEvent
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
To test the fix run the test/java/awt/event/KeyEvent/DeadKey/deadKeyMacOSX.java
The characters method from the NSEvent class returns an empty string for dead keys.
The fix uses the UCKeyTranslate() method to know a dead key state from the key code and key modifiers on the first step,
and dead key state and space key to know the dead key char actual value on the second step.