diff options
| author | Elliott Hughes <enh@google.com> | 2011-05-12 12:17:00 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2011-05-12 12:17:00 -0700 |
| commit | cc20c55f1a752c71cd92702f64624702ca536a2e (patch) | |
| tree | d89459f3247e703951b53a720527b890d4b5eebc /vm/compiler/codegen/arm/ArchUtility.cpp | |
| parent | 3ddce1c578d8c80a792d92c83930bba5fdbb9410 (diff) | |
Improve diagnostics when an invalid reference is given to Get/Set*Field functions.
It may be worth treating NULL as a special case of "invalid" for an even
clearer diagnostic, but this is a huge leap forward from just crashing inside
CheckJNI:
W( 4443) JNI ERROR: field operation on invalid reference ((nil)) (dalvikvm)
E( 4443) VM aborting (dalvikvm)
Change-Id: Ied7090a57becb10ca7c8cb4be56cd7c1f109add5
Diffstat (limited to 'vm/compiler/codegen/arm/ArchUtility.cpp')
0 files changed, 0 insertions, 0 deletions
