harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r575035 - /harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jarfile.c
Date Wed, 12 Sep 2007 18:27:46 GMT
Author: hindessm
Date: Wed Sep 12 11:27:43 2007
New Revision: 575035

URL: http://svn.apache.org/viewvc?rev=575035&view=rev
Log:
The cache stores a global ref now so we don't need to make it a local ref.

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

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jarfile.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jarfile.c?rev=575035&r1=575034&r2=575035&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jarfile.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/jarfile.c
Wed Sep 12 11:27:43 2007
@@ -69,11 +69,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,
 				      extra,



Mime
View raw message