DescriptionFix segfault in JNIEnv function hooks for test
On newer JB builds, the JNINativeInterface struct appears to be held
in read-only memory so attempting to repoint individual function pointers
in it causes segfault. So instead we repoint the top-level struct pointer
to refer to our own copy held in read/write memory.
BUG=137348
TEST=JNIAndroidTest
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148943
Patch Set 1 : #
Messages
Total messages: 4 (0 generated)
|