summaryrefslogtreecommitdiff
path: root/runtime/dex/dex_file_annotations.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/dex/dex_file_annotations.cc')
-rw-r--r--runtime/dex/dex_file_annotations.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/dex/dex_file_annotations.cc b/runtime/dex/dex_file_annotations.cc
index 050be4ad1c..24b3a3e5fe 100644
--- a/runtime/dex/dex_file_annotations.cc
+++ b/runtime/dex/dex_file_annotations.cc
@@ -605,7 +605,7 @@ bool ProcessAnnotationValue(const ClassData& klass,
StackHandleScope<2> hs(self);
uint32_t size = DecodeUnsignedLeb128(&annotation);
Handle<mirror::Class> component_type(hs.NewHandle(array_class->GetComponentType()));
- Handle<mirror::Array> new_array(hs.NewHandle(mirror::Array::Alloc<true>(
+ Handle<mirror::Array> new_array(hs.NewHandle(mirror::Array::Alloc(
self, array_class.Get(), size, array_class->GetComponentSizeShift(),
Runtime::Current()->GetHeap()->GetCurrentAllocator())));
if (new_array == nullptr) {