From 975a1af48204e147fec4edf5e4e9b50bda6414fc Mon Sep 17 00:00:00 2001 From: serb Date: Tue, 23 Sep 2014 16:05:05 +0400 Subject: [PATCH] 8058858: JRE 8u20 crashes while using Japanese IM on Windows Reviewed-by: azvegint, alexsch --- src/windows/native/sun/windows/awt_Component.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/windows/native/sun/windows/awt_Component.cpp b/src/windows/native/sun/windows/awt_Component.cpp index 5bd7bf4e5..3baae0f6d 100644 --- a/src/windows/native/sun/windows/awt_Component.cpp +++ b/src/windows/native/sun/windows/awt_Component.cpp @@ -3955,7 +3955,6 @@ void AwtComponent::SendInputMethodEvent(jint id, jstring text, DASSERT(stringCls); CHECK_NULL(stringCls); clauseReading = env->NewObjectArray(cClause, stringCls, NULL); - env->DeleteLocalRef(stringCls); DASSERT(clauseReading); CHECK_NULL(clauseReading); for (int i=0; iSetObjectArrayElement(clauseReading, i, rgClauseReading[i]); -- GitLab