From b3a5823536cb57bbb0e4f776e62f393cc019b2bd Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 13 Aug 2009 09:07:05 -0600 Subject: [PATCH] set JNIEnvVTable::NewWeakGlobalRef to NewGlobalRef since we don't yet have a weak version --- src/jnienv.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jnienv.cpp b/src/jnienv.cpp index 8c4a96c639..8be23a8640 100644 --- a/src/jnienv.cpp +++ b/src/jnienv.cpp @@ -2003,6 +2003,7 @@ populateJNITables(JavaVMVTable* vmTable, JNIEnvVTable* envTable) envTable->SetStaticFloatField = ::SetStaticFloatField; envTable->SetStaticDoubleField = ::SetStaticDoubleField; envTable->NewGlobalRef = ::NewGlobalRef; + envTable->NewWeakGlobalRef = ::NewGlobalRef; envTable->DeleteGlobalRef = ::DeleteGlobalRef; envTable->ExceptionOccurred = ::ExceptionOccurred; envTable->ExceptionDescribe = ::ExceptionDescribe;