From cbba6009ba6488eb6d6c6e08f973f2f57c6ec895 Mon Sep 17 00:00:00 2001 From: dcherepanov Date: Fri, 22 Jan 2010 19:47:18 +0300 Subject: 6756774: fstdebug jvm fails with assertion (result != deleted_handle(),"Used a deleted global handle.") Reviewed-by: art, anthony --- src/windows/native/sun/windows/awt_MenuItem.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/windows') diff --git a/src/windows/native/sun/windows/awt_MenuItem.cpp b/src/windows/native/sun/windows/awt_MenuItem.cpp index 51fc47718..33abb6633 100644 --- a/src/windows/native/sun/windows/awt_MenuItem.cpp +++ b/src/windows/native/sun/windows/awt_MenuItem.cpp @@ -114,6 +114,7 @@ void AwtMenuItem::Dispose() if (m_peerObject != NULL) { JNI_SET_PDATA(m_peerObject, NULL); env->DeleteGlobalRef(m_peerObject); + m_peerObject = NULL; } AwtObject::Dispose(); -- cgit v1.2.3