src/windows/native/sun/windows/awt_Component.cpp

Print this page
rev 7733 : 8013849: Awt assert on Hashtable.cpp:124
Reviewed-by: serb

*** 3521,3532 **** --- 3521,3536 ---- translation = wChar[0]; } if (ops == SAVE) { transTable.put(reinterpret_cast<void*>(static_cast<INT_PTR>(wkey)), reinterpret_cast<void*>(static_cast<INT_PTR>(translation))); + if (deadKeyFlag) { deadKeyFlagTable.put(reinterpret_cast<void*>(static_cast<INT_PTR>(wkey)), reinterpret_cast<void*>(static_cast<INT_PTR>(deadKeyFlag))); + } else { + deadKeyFlagTable.remove(reinterpret_cast<void*>(static_cast<INT_PTR>(wkey))); + } } isDeadKey = deadKeyFlag; return translation; }