8200353: Shift or Capslock not working in Textfield after accented keystrokes
Reviewed-by: serb, prr
--- a/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp Wed Jun 13 10:59:27 2018 +0530
+++ b/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp Wed Jun 13 12:54:41 2018 +0100
@@ -3853,6 +3853,8 @@
MsgRouting AwtComponent::WmForwardChar(WCHAR character, LPARAM lParam,
BOOL synthetic)
{
+ deadKeyActive = FALSE;
+
// just post WM_CHAR with unicode key value
DefWindowProc(WM_CHAR, (WPARAM)character, lParam);
return mrConsume;