7f4a5eccf19468e6ba8c132abc34e0670cc7cdfa |
|
28-Jan-2010 |
Elliott Hughes <enh@google.com> |
Fix jniThrowRuntimeException for C callers, add jniThrowNullPointerException. ...and switch all NPE throwers over to the helper.
|
96ced0311e42ca5dc7d4c4f15a2267bdb3f4281f |
|
13-Jan-2010 |
The Android Open Source Project <initial-contribution@android.com> |
android-2.1_r1 snapshot
|
4a888b09be2ade9fc5bb0137f702b3be889679a9 |
|
08-Dec-2009 |
Dan Bornstein <danfuzz@android.com> |
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
|
d1f4cf7b4fc5fd258c99ebbc5e4d2e7dc660df5f |
|
22-Oct-2009 |
Andy McFadden <fadden@android.com> |
Clear pending exception before throwing a new one. The JNI helper function that throws an exception calls FindClass, which isn't allowed if an exception is currently pending. Some of our code called this when an operation failed without noting that the thing that failed already threw an exception; this caused the VM to blow up in a rather unhelpful way. We now log the class name and optional message from the original exception, clear it, and then allocate & throw the new one. For bug 2141867.
|
54b596cafc89f801047e98155b0357c74013c43c |
|
21-Oct-2009 |
Elliott Hughes <enh@google.com> |
Expose the portable "strerror_r" used by jniThrowIOException. Also add one example caller I used to test this, and update the libnativehelper README file.
|
f6c387128427e121477c1b32ad35cdcaa5101ba3 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
f72d5de56a522ac3be03873bdde26f23a5eeeb3c |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
2ad60cfc28e14ee8f0bb038720836a4696c478ad |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
|