changeset 2133:0f92194cd798

6756774: fstdebug jvm fails with assertion (result != deleted_handle(),"Used a deleted global handle.") Reviewed-by: art, anthony
author dcherepanov
date Fri, 22 Jan 2010 19:47:18 +0300
parents 3cc5eff94552
children d7c4baff3f96
files src/windows/native/sun/windows/awt_MenuItem.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/sun/windows/awt_MenuItem.cpp	Wed Jan 20 01:33:49 2010 +0300
+++ b/src/windows/native/sun/windows/awt_MenuItem.cpp	Fri Jan 22 19:47:18 2010 +0300
@@ -114,6 +114,7 @@
     if (m_peerObject != NULL) {
         JNI_SET_PDATA(m_peerObject, NULL);
         env->DeleteGlobalRef(m_peerObject);
+        m_peerObject = NULL;
     }
 
     AwtObject::Dispose();