diff options
| author | Vladimir Marko <vmarko@google.com> | 2018-05-22 13:56:09 +0100 |
|---|---|---|
| committer | Vladimir Marko <vmarko@google.com> | 2018-05-22 14:54:45 +0100 |
| commit | 2d3065e6ca0bd707bc998b7d260bb8e8ec07cf87 (patch) | |
| tree | 2b1361fb8c0d860e735858d41a7be6b7699a576a /runtime/native/java_lang_reflect_Constructor.cc | |
| parent | 3eb68cf6c05e8c015f0da2c50e7e720976702e63 (diff) | |
| download | art-2d3065e6ca0bd707bc998b7d260bb8e8ec07cf87.tar.gz art-2d3065e6ca0bd707bc998b7d260bb8e8ec07cf87.tar.bz2 art-2d3065e6ca0bd707bc998b7d260bb8e8ec07cf87.zip | |
ObjPtr<>-ify annotation processing.
Test: Rely on TreeHugger.
Bug: 31113334
Change-Id: Ifd69c15c0df1530d8860cf50e06bde0d356b0c23
Diffstat (limited to 'runtime/native/java_lang_reflect_Constructor.cc')
| -rw-r--r-- | runtime/native/java_lang_reflect_Constructor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/native/java_lang_reflect_Constructor.cc b/runtime/native/java_lang_reflect_Constructor.cc index a5d6c9704d..13a8d28267 100644 --- a/runtime/native/java_lang_reflect_Constructor.cc +++ b/runtime/native/java_lang_reflect_Constructor.cc @@ -38,7 +38,7 @@ static jobjectArray Constructor_getExceptionTypes(JNIEnv* env, jobject javaMetho ScopedFastNativeObjectAccess soa(env); ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod) ->GetInterfaceMethodIfProxy(kRuntimePointerSize); - mirror::ObjectArray<mirror::Class>* result_array = + ObjPtr<mirror::ObjectArray<mirror::Class>> result_array = annotations::GetExceptionTypesForMethod(method); if (result_array == nullptr) { // Return an empty array instead of a null pointer. |
