Hi Walter,

1. Does this work correctly with OpenJDK 7? What about OpenJDK 8? If it works fine with these versions, I suggest to upgrade your JDK.

2. Are you just reporting a bug? If this is the case, please do so at http://bugs.sun.com/. However, an OpenJDK-6-related bug is unlikely to get much attention unless a suggested fix is also provided.

3. If you want to suggest a fix, however, you're very welcome to do so! Please send your patch to this mailing list for a review. I suggest to fix this issue in the latest JDK where this doesn't work as expected first, and then back-port the fix to whatever earlier releases you may want.

--
best regards,
Anthony

On 4/10/2012 5:54 PM, Oki van Kinoki wrote:
Hello,

the key code of VK_ALT_GRAPH in java-6-openjdk is 0 instead of 65406 as it should be in accordance with the documentation. So, KeyEvent.isAltGraphDown() returns false even if alt-graph key is being pressed.

Using Java(TM) SE Runtime Environment (build 1.6.0_30-b12) works as documented.

OS is Ubuntu 10.04 LTS - Lucid Lynx and IDE is NetBeans 7.1.

Sincerely yours,
Walter

Reply via email to