diff options
author | Andy McFadden <fadden@android.com> | 2012-01-20 14:05:24 -0800 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2012-01-20 14:08:07 -0800 |
commit | 5cc74502e62d99d40f5c7a841a57fafde5e7ed33 (patch) | |
tree | 006e5ca149c9be4e817e9d25dc96f79075e14d63 /vm/Native.cpp | |
parent | 8a7b9fd899ea2b89e99fe3d81210fa8349ec2c60 (diff) | |
download | android_dalvik-5cc74502e62d99d40f5c7a841a57fafde5e7ed33.tar.gz android_dalvik-5cc74502e62d99d40f5c7a841a57fafde5e7ed33.tar.bz2 android_dalvik-5cc74502e62d99d40f5c7a841a57fafde5e7ed33.zip |
Tweak UnsatisfiedLinkError
Change this:
java.lang.UnsatisfiedLinkError: getSuperclass
to this:
java.lang.UnsatisfiedLinkError: Native method not found:
java.lang.Class.getSuperclass:()Ljava/lang/Class;
Change-Id: I23bd4350caf743ad9ba3524da0a10107c63af56a
Diffstat (limited to 'vm/Native.cpp')
-rw-r--r-- | vm/Native.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/Native.cpp b/vm/Native.cpp index 6ccd1ea8a..be719a7f0 100644 --- a/vm/Native.cpp +++ b/vm/Native.cpp @@ -118,12 +118,12 @@ void dvmResolveNativeMethod(const u4* args, JValue* pResult, IF_ALOGW() { char* desc = dexProtoCopyMethodDescriptor(&method->prototype); - ALOGW("No implementation found for native %s.%s %s", + ALOGW("No implementation found for native %s.%s:%s", clazz->descriptor, method->name, desc); free(desc); } - dvmThrowUnsatisfiedLinkError(method->name); + dvmThrowUnsatisfiedLinkError("Native method not found", method); } |