Hi All,

Please review a fix for https://bugs.openjdk.java.net/browse/JDK-8218917 
<https://bugs.openjdk.java.net/browse/JDK-8218917>
With webrev: http://cr.openjdk.java.net/~kaddepalli/8218917/webrev00/ 
<http://cr.openjdk.java.net/~kaddepalli/8218917/webrev00/>

The problem is that once right alt key is pressed, pressing the left alt key 
always returns the key code for right alt key. The problem was in AWTEvent.m, 
there is a static variable “altGRPressed” which is being set once right alt is 
pressed, but is not being cleared when left alt key is pressed. The fix is to 
completely remove the “altGRPressed” variable as “leftAtlPressed” is sufficient 
to determine which alt key was pressed.
I have tested all the regressions associated with JDK-8156460, and found no new 
failures.

Thanks,
Krishna

Reply via email to