changeset 10077:912349a39259

8058858: JRE 8u20 crashes while using Japanese IM on Windows Reviewed-by: azvegint, alexsch
author serb
date Tue, 23 Sep 2014 16:05:05 +0400
parents 50b7ad429122
children 2bed01ea057d
files src/windows/native/sun/windows/awt_Component.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/sun/windows/awt_Component.cpp	Mon Oct 06 12:30:28 2014 +0400
+++ b/src/windows/native/sun/windows/awt_Component.cpp	Tue Sep 23 16:05:05 2014 +0400
@@ -3955,7 +3955,6 @@
         DASSERT(stringCls);
         CHECK_NULL(stringCls);
         clauseReading = env->NewObjectArray(cClause, stringCls, NULL);
-        env->DeleteLocalRef(stringCls);
         DASSERT(clauseReading);
         CHECK_NULL(clauseReading);
         for (int i=0; i<cClause; i++)   env->SetObjectArrayElement(clauseReading, i, rgClauseReading[i]);