OSDN Git Service

Two exception-related tweaks: (1) Make the dynamic exception construction
authorDan Bornstein <danfuzz@android.com>
Mon, 7 Dec 2009 23:46:23 +0000 (15:46 -0800)
committerDan Bornstein <danfuzz@android.com>
Mon, 7 Dec 2009 23:46:23 +0000 (15:46 -0800)
commit4a888b09be2ade9fc5bb0137f702b3be889679a9
tree9acea48792ef5c8321dc1545998ef46c7904b11f
parent3dc6a81182178a8ac9570a7679cf24b6a2665a0b
Two exception-related tweaks: (1) Make the dynamic exception construction
mechanism be able to handle exception constructors that take Object instead
of String. (2) Add a convenience in JNIHelp to throw RuntimeExceptions.

Change-Id: Ie5ce680c30043a4b186e59d7c8883666648b2c87
libnativehelper/JNIHelp.c
libnativehelper/include/nativehelper/JNIHelp.h
vm/Exception.c