diff options
author | Elliott Hughes <enh@google.com> | 2011-03-31 11:06:36 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-03-31 11:06:36 -0700 |
commit | ba587f9b33109c8cbcb4cf93c21036a8063ea580 (patch) | |
tree | 3c8cc8338c95936c274362e3fe1f47b649a6edf7 /vm/compiler/Compiler.h | |
parent | a1cfe9e4487ca2d17090bd9899620099aa358b80 (diff) | |
download | android_dalvik-ba587f9b33109c8cbcb4cf93c21036a8063ea580.tar.gz android_dalvik-ba587f9b33109c8cbcb4cf93c21036a8063ea580.tar.bz2 android_dalvik-ba587f9b33109c8cbcb4cf93c21036a8063ea580.zip |
Improve diagnostics when non-String passed as a jstring.
For my particular bug, the cause was obvious by inspection of the calling
code, but this might be useful in harder cases.
Before:
W(17868) JNI WARNING: jstring 0x3600001 points to non-string object (Check_GetStringUTFChars) (dalvikvm)
Change-Id: I883a99936b8c2cd79c5a691f7c335245ff50b34f
After:
W(19680) JNI WARNING: jstring 0x3600001 points to object of type Llibcore/io/Posix; (Check_GetStringUTFChars) (dalvikvm)
Diffstat (limited to 'vm/compiler/Compiler.h')
0 files changed, 0 insertions, 0 deletions