Author: mturk
Date: Tue Apr 12 07:06:47 2011
New Revision: 1091312

URL: http://svn.apache.org/viewvc?rev=1091312&view=rev
Log:
EnsureLocalCapacity doesn't actually ensure anything. It just checks if the 
param is less then 4K

Modified:
    commons/sandbox/runtime/trunk/src/main/native/shared/clazz.c

Modified: commons/sandbox/runtime/trunk/src/main/native/shared/clazz.c
URL: 
http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/clazz.c?rev=1091312&r1=1091311&r2=1091312&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/clazz.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/clazz.c Tue Apr 12 
07:06:47 2011
@@ -274,9 +274,6 @@ AcrLoadClass(JNI_STDENV, JAVA_C_ID *claz
         /* Already inited */
         return 0;
     }
-    if ((*env)->EnsureLocalCapacity(env, 3) < 0) {
-        goto failed;
-    }
     /* Init class */
     c = (jobject)(*env)->FindClass(env, clazz->n);
     if (c == 0) {


Reply via email to