diff options
Diffstat (limited to 'runtime/mirror/object_array.h')
-rw-r--r-- | runtime/mirror/object_array.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/mirror/object_array.h b/runtime/mirror/object_array.h index f7046d1307..7f43cd2393 100644 --- a/runtime/mirror/object_array.h +++ b/runtime/mirror/object_array.h @@ -99,7 +99,9 @@ class MANAGED ObjectArray: public Array { bool throw_exception) REQUIRES_SHARED(Locks::mutator_lock_); - ObjPtr<ObjectArray<T>> CopyOf(Thread* self, int32_t new_length) + static ObjPtr<ObjectArray<T>> CopyOf(Handle<ObjectArray<T>> h_this, + Thread* self, + int32_t new_length) REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Roles::uninterruptible_); |