Byeongcheol Lee <lineonking@gmail.com>


Patch
r949842, r947006, r946518, r946181, r944525

r949842 | hwright | 2010-05-31 14:36:53 -0500 (Mon, 31 May 2010)

Fix a double free in the JavaHL bindings.

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

* subversion/bindings/javahl/native/CopySources.cpp
  (array): Replace JNIStringHolder() with two calls to GetStringUTFChars()
    and DeleteLocalRef().


r947006 | hwright | 2010-05-21 08:48:36 -0500 (Fri, 21 May 2010)

* subversion/bindings/javahl/native/Outputer.cpp
  (write): Add a call to DeleteLocalRef() to prevent a leaking local
    reference.

Patch by: Byeongcheol Lee <lineonking@gmail.com>
Tweaked by: me


r946518 | hwright | 2010-05-19 22:55:16 -0500 (Wed, 19 May 2010)

JavaHL: Fix a JNI frame bug.

* subversion/bindings/javahl/native/CreateJ.cpp
  (getOrdinal): add a call to PopLocalFrame() before the method
   returns successfully without a Java exception.

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

[Note: Accidental changes to subversion/tests/cmdline/svntest/main.py were
 reverted in r946519.]


r946181 | hwright | 2010-05-19 08:35:37 -0500 (Wed, 19 May 2010)

* subversion/bindings/javahl/native/CreateJ.cpp
 (Set): Use CallBooleanMethod for a method returning a boolean value.

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


r944525 | hwright | 2010-05-14 19:10:08 -0500 (Fri, 14 May 2010)

JavaHL: Fix native JNI method calls to indicate correct return type.

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

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