diff options
author | Elliott Hughes <enh@google.com> | 2009-09-17 11:33:21 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2009-09-17 11:33:21 -0700 |
commit | 973ff882e7ef42fdbf43b94814828ec723685507 (patch) | |
tree | 314644b372d047b9e87003f0419c9a1c3463f0e8 /openssl | |
parent | 77d58e2a1577a4992f4d81e9ca2807f7533725c6 (diff) | |
download | libcore-973ff882e7ef42fdbf43b94814828ec723685507.zip libcore-973ff882e7ef42fdbf43b94814828ec723685507.tar.gz libcore-973ff882e7ef42fdbf43b94814828ec723685507.tar.bz2 |
Don't throw OutOfMemoryError if it's already been thrown.
If GetPrimitiveArrayCritical fails, it throws a suitable exception for us.
Also remove dead code.
Diffstat (limited to 'openssl')
-rw-r--r-- | openssl/src/main/native/BNInterface.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/openssl/src/main/native/BNInterface.c b/openssl/src/main/native/BNInterface.c index 755a93b..1a3eb16 100644 --- a/openssl/src/main/native/BNInterface.c +++ b/openssl/src/main/native/BNInterface.c @@ -33,12 +33,6 @@ static void -throwOutOfMemoryException(JNIEnv* env, const char* message) -{ - jniThrowException(env, "java/lang/OutOfMemoryError", message); -} - -static void throwNewNullPointerException (JNIEnv* env, const char* message) { jniThrowException(env, "java/lang/NullPointerException", message); |