OSDN Git Service

PR libgcj/11951:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Aug 2003 14:36:07 +0000 (14:36 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Aug 2003 14:36:07 +0000 (14:36 +0000)
commit711d4574add8689064496b3d52e6a198d832c733
tree3937ccad6c17e653dc39511f8dcb2812663db7de
parent60e144bbfacd7f1106e2819755fd9770fbb9737f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70544 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/include/jvm.h
libjava/java/lang/reflect/natMethod.cc
libjava/jni.cc