changeset 9914:a4e88eaf15ea jdk8u25-b18

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 37451247c861
children c89c1cfbd363 65e300d8a3d8
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	Wed Sep 17 11:57:24 2014 -0700
+++ b/src/windows/native/sun/windows/awt_Component.cpp	Tue Sep 23 16:05:05 2014 +0400
@@ -3960,7 +3960,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]);