diff options
author | 2014-03-13 23:45:53 -0700 | |
---|---|---|
committer | 2014-03-14 11:28:10 -0700 | |
commit | 53b8b09fc80329539585dcf43657bc5f4ecefdff (patch) | |
tree | cac0f82fbb89bd907104e3fed6c36203e11a3de0 /runtime/exception_test.cc | |
parent | 0dea9872082bc3e576ed6cefed86b0d6c0c45ffd (diff) |
Refactor reflective method invocation.
Move invocation code out of JNI internal into reflection, including ArgArray
code. Make reflective invocation use the ArgArray to build arguments rather
than allocating a jvalue[] and unboxing arguments into that.
Move reflection part of jni_internal_test into reflection_test.
Make greater use of fast JNI.
Change-Id: Ib381372df5f9a83679e30e7275de24fa0e6b1057
Diffstat (limited to 'runtime/exception_test.cc')
-rw-r--r-- | runtime/exception_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/exception_test.cc b/runtime/exception_test.cc index 4a75152670..9c76a1480f 100644 --- a/runtime/exception_test.cc +++ b/runtime/exception_test.cc @@ -201,7 +201,7 @@ TEST_F(ExceptionTest, StackTraceElement) { jobject internal = thread->CreateInternalStackTrace(soa); ASSERT_TRUE(internal != NULL); - jobjectArray ste_array = Thread::InternalStackTraceToStackTraceElementArray(env, internal); + jobjectArray ste_array = Thread::InternalStackTraceToStackTraceElementArray(soa, internal); ASSERT_TRUE(ste_array != NULL); mirror::ObjectArray<mirror::StackTraceElement>* trace_array = soa.Decode<mirror::ObjectArray<mirror::StackTraceElement>*>(ste_array); |