diff options
| author | 2015-10-22 17:37:50 -0700 | |
|---|---|---|
| committer | 2015-11-20 16:33:06 -0800 | |
| commit | 457e874459ae638145cab6d572e34d48480e39d2 (patch) | |
| tree | b192c4698c4889ae90db6abe2652199802213fe6 /runtime/entrypoints/entrypoint_utils.cc | |
| parent | 3944f7175dcf60316ba58a42698ccf23c65ac57c (diff) | |
lambda: Add support for invoke-interface for boxed innate lambdas
Lambda closures created with the 'create-lambda' instruction
(termed "innate lambdas") can be turned into an object with 'box-lambda'.
This CL enables support for those kinds of lambdas to work with
'invoke-interface' by generating a proxy class for the lambda.
Note: MIPS32/64 support not included.
Bug: 24618608
Bug: 25107649
Change-Id: Ic8f1bb66ebeaed4097e758a50becf1cff6ccaefb
Diffstat (limited to 'runtime/entrypoints/entrypoint_utils.cc')
| -rw-r--r-- | runtime/entrypoints/entrypoint_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/entrypoints/entrypoint_utils.cc b/runtime/entrypoints/entrypoint_utils.cc index 87e29ae3c3..2a92226f4a 100644 --- a/runtime/entrypoints/entrypoint_utils.cc +++ b/runtime/entrypoints/entrypoint_utils.cc @@ -313,7 +313,7 @@ JValue InvokeProxyInvocationHandler(ScopedObjectAccessAlreadyRunnable& soa, cons reinterpret_cast<uintptr_t>(virtual_methods)) / method_size; CHECK_LT(throws_index, static_cast<int>(num_virtuals)); mirror::ObjectArray<mirror::Class>* declared_exceptions = - proxy_class->GetThrows()->Get(throws_index); + proxy_class->GetThrowsForAnyProxy()->Get(throws_index); mirror::Class* exception_class = exception->GetClass(); bool declares_exception = false; for (int32_t i = 0; i < declared_exceptions->GetLength() && !declares_exception; i++) { |