diff options
| author | Andy McFadden <fadden@android.com> | 2011-01-07 13:34:47 -0800 |
|---|---|---|
| committer | Andy McFadden <fadden@android.com> | 2011-01-07 13:34:47 -0800 |
| commit | 5e261cd107a923ffc4d4329aa9bd19da220981c8 (patch) | |
| tree | 3b094c232a1fee56b33ffc512ff5db5b6361dab2 /vm/compiler/codegen/CompilerCodegen.h | |
| parent | 02558df0173befced077255dafddcc45afa4a009 (diff) | |
jniRegisterNativeMethods should abort on failure
The jniRegisterNativeMethods function currently behaves like the
RegisterNatives function that it wraps, returning 0 on success and
nonzero on failure. However, this is an internal-only function used
by bits of infrastructure that should never fail to initialize. By
aborting sooner we make the failure impossible to ignore.
This doesn't appear to break anything.
Bug 3323089
Change-Id: I48d1b02d90616d4c9ee01eb0e46cb61752727c5b
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions
