You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/05/15 02:10:09 UTC

svn commit: r944525 - /subversion/trunk/subversion/bindings/javahl/native/CreateJ.cpp

Author: hwright
Date: Sat May 15 00:10:08 2010
New Revision: 944525

URL: http://svn.apache.org/viewvc?rev=944525&view=rev
Log:
JavaHL: Fix native JNI method calls to indicate correct return type.

Patch by: Byeongcheol Lee <li...@gmail.com>

* subversion/bindings/javahl/native/CreateJ.cpp
  (RevisionRangeList): Use CallBooleanMethod for a method which returns
    a Java boolean.

Modified:
    subversion/trunk/subversion/bindings/javahl/native/CreateJ.cpp

Modified: subversion/trunk/subversion/bindings/javahl/native/CreateJ.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/CreateJ.cpp?rev=944525&r1=944524&r2=944525&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/CreateJ.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/CreateJ.cpp Sat May 15 00:10:08 2010
@@ -771,7 +771,7 @@ CreateJ::RevisionRangeList(apr_array_hea
       if (JNIUtil::isJavaExceptionThrown())
         POP_AND_RETURN_NULL;
 
-      env->CallObjectMethod(jranges, add_mid, jrange);
+      env->CallBooleanMethod(jranges, add_mid, jrange);
       if (JNIUtil::isJavaExceptionThrown())
         POP_AND_RETURN_NULL;