-
Bug
-
Resolution: Fixed
-
P2
-
7u4
-
b18
-
x86
-
os_x
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2222354 | 8 | Anton Tarasov | P2 | Closed | Fixed | b40 |
This is a potential regression of the fix for 7142565. The method [AWTView deliverJavaKeyEventHelper] uses a pointer to the latest key event in order to compare current key event with the previous one. In case the pointers are equal current event is ignored.
However, as the pointer doesn't retain the event, there might be a situation when a new event object is allocated by the same address as the previous one. In such case the events would be erroneously considered equal.
However, as the pointer doesn't retain the event, there might be a situation when a new event object is allocated by the same address as the previous one. In such case the events would be erroneously considered equal.
- backported by
-
JDK-2222354 [macosx] swallowing key events
- Closed
- relates to
-
JDK-7161320 TEST_BUG: java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java fails (Invalid key code)
- Resolved
-
JDK-7154512 [macosx] Keyboard shortcut actions performed multiple times
- Closed