diff options
author | Owen Lin <owenlin@google.com> | 2010-09-30 16:41:23 +0800 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2010-09-30 16:56:03 +0800 |
commit | e224fabb2c59e9f1274c3569c04b91787824add0 (patch) | |
tree | d9af83842997926b68a7431112205e73562d9dcf /core/jni/android/graphics/Graphics.cpp | |
parent | a9164cbb3092d4edebd9f20e7da533e169e8d3c6 (diff) | |
download | frameworks_base-e224fabb2c59e9f1274c3569c04b91787824add0.zip frameworks_base-e224fabb2c59e9f1274c3569c04b91787824add0.tar.gz frameworks_base-e224fabb2c59e9f1274c3569c04b91787824add0.tar.bz2 |
Fix segfault when tring to throw IOException.
Change-Id: I530cc4409ba4ca17cec933afad077c5f60ba554f
Diffstat (limited to 'core/jni/android/graphics/Graphics.cpp')
-rw-r--r-- | core/jni/android/graphics/Graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android/graphics/Graphics.cpp b/core/jni/android/graphics/Graphics.cpp index 1ebe14b..9467be8 100644 --- a/core/jni/android/graphics/Graphics.cpp +++ b/core/jni/android/graphics/Graphics.cpp @@ -46,7 +46,7 @@ void doThrowOOME(JNIEnv* env, const char* msg) { } void doThrowIOE(JNIEnv* env, const char* msg) { - doThrow(env, "java/lang/IOException", msg); + doThrow(env, "java/io/IOException", msg); } bool GraphicsJNI::hasException(JNIEnv *env) { |