diff options
Diffstat (limited to 'openjdkjvmti/ti_class.cc')
-rw-r--r-- | openjdkjvmti/ti_class.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openjdkjvmti/ti_class.cc b/openjdkjvmti/ti_class.cc index 7537f28df6..988274b4d7 100644 --- a/openjdkjvmti/ti_class.cc +++ b/openjdkjvmti/ti_class.cc @@ -213,7 +213,8 @@ struct ClassCallback : public art::ClassLoadCallback { art::StackHandleScope<2> hs(self); // Save the results of all the non-retransformable agents. // First allocate the ClassExt - art::Handle<art::mirror::ClassExt> ext(hs.NewHandle(klass->EnsureExtDataPresent(self))); + art::Handle<art::mirror::ClassExt> ext = + hs.NewHandle(art::mirror::Class::EnsureExtDataPresent(klass, self)); // Make sure we have a ClassExt. This is fine even though we are a temporary since it will // get copied. if (ext.IsNull()) { |