harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r576422 - /harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c
Date Mon, 17 Sep 2007 13:30:34 GMT
Author: hindessm
Date: Mon Sep 17 06:30:33 2007
New Revision: 576422

URL: http://svn.apache.org/viewvc?rev=576422&view=rev
Log:
Cache contains a global reference now so we don't need to create a
local reference any more.

Modified:
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c?rev=576422&r1=576421&r2=576422&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c Mon
Sep 17 06:30:33 2007
@@ -474,10 +474,6 @@
     }
 
   javaClass = JCL_CACHE_GET (env, CLS_java_util_zip_ZipEntry);
-  javaClass = (*env)->NewLocalRef(env, javaClass);
-  if (javaClass == NULL) {
-      return NULL;
-  }
   mid = JCL_CACHE_GET (env, MID_java_util_zip_ZipEntry_init);
   java_ZipEntry = ((*env)->NewObject (env, javaClass, mid, entryName, NULL,     /* comment
*/
                                       extra,



Mime
View raw message