]> gcc.gnu.org Git - gcc.git/commit
re PR libgcj/11951 (natMethod.cc (_Jv_CallAnyMethodA) should clear ffi_result before...
authorTom Tromey <tromey@redhat.com>
Mon, 18 Aug 2003 14:36:07 +0000 (14:36 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 18 Aug 2003 14:36:07 +0000 (14:36 +0000)
commit0da021f5ccafd20a5ef711233eaeab093fac3966
tree3937ccad6c17e653dc39511f8dcb2812663db7de
parentcd0698363989ea9ad0c5546a79820da9e404b170
re PR libgcj/11951 (natMethod.cc (_Jv_CallAnyMethodA) should clear ffi_result before ffi_call)

PR libgcj/11951:
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
void.  Throw VirtualMachineError if ffi fails.  Initialize return
value.  Added is_jni_call argument; only wrap exception if not a
JNI call.  Use descriptive message if operation not supported.
(_Jv_GetTypesFromSignature): Use declaring class' loader to find
array class.
* include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
* jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
_Jv_CallAnyMethodA.
(_Jv_JNI_CallAnyMethodA): Likewise.
(_Jv_JNI_CallAnyVoidMethodV): Likewise.
(_Jv_JNI_CallAnyVoidMethodA): Likewise.

From-SVN: r70544
libjava/ChangeLog
libjava/include/jvm.h
libjava/java/lang/reflect/natMethod.cc
libjava/jni.cc
This page took 0.06396 seconds and 5 git commands to generate.