Bug 333420 - Fix build break when building with gcj.
git-svn-id: svn://10.0.0.236/trunk@194260 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -584,7 +584,9 @@ NativeToJavaProxyMap::Remove(JNIEnv* env, nsISupports* aNativeObject,
|
||||
PR_Free(iid_str);
|
||||
#endif
|
||||
|
||||
env->DeleteWeakGlobalRef(item->javaObject);
|
||||
jweak weakref = NS_STATIC_CAST(jweak,
|
||||
NS_CONST_CAST(jobject, item->javaObject));
|
||||
env->DeleteWeakGlobalRef(weakref);
|
||||
if (item == e->list) {
|
||||
e->list = item->next;
|
||||
if (e->list == nsnull)
|
||||
|
||||
Reference in New Issue
Block a user