harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r571201 - /harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c
Date Thu, 30 Aug 2007 15:08:07 GMT
Author: apetrenko
Date: Thu Aug 30 08:08:07 2007
New Revision: 571201

URL: http://svn.apache.org/viewvc?rev=571201&view=rev
Log:
Patch for HARMONY-3617 "[classlib][prefs] API test org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest
failed on Win x86_64 release build"

Modified:
    harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c

Modified: harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c?rev=571201&r1=571200&r2=571201&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c
Thu Aug 30 08:08:07 2007
@@ -124,8 +124,8 @@
   localErrorCode = checkErrorCode (errorCode);
   RegCloseKey (hKey);
   hymem_free_memory (keyStr);
-  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, err, 0);
   err[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] = localErrorCode;
+  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, err, 0);
   if (localErrorCode !=
       java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
     {



Mime
View raw message