Remove use of compiled invoke stubs from portable.
Now the invoke stubs can be safely removed. Tested and working on ARM,
basic testing done on x86/MIPS, but portable is currently broken for them
even without the change.
Change-Id: Ib73f2b7aa9d81f5f0e1e817d16b9bec464c5a5aa
diff --git a/src/reflection.cc b/src/reflection.cc
index 6b64311..73a8a53 100644
--- a/src/reflection.cc
+++ b/src/reflection.cc
@@ -248,7 +248,6 @@
ArgArray arg_array(NULL, 0);
JValue result;
- JValue float_result;
if (src_class == Primitive::kPrimDouble || src_class == Primitive::kPrimLong) {
arg_array.AppendWide(value.GetJ());
} else {
@@ -256,7 +255,7 @@
}
soa.DecodeMethod(m)->Invoke(soa.Self(), arg_array.GetArray(), arg_array.GetNumBytes(),
- &result, &float_result);
+ &result, 'L');
return result.GetL();
}