diff options
Diffstat (limited to 'openjdkjvmti/ti_search.cc')
| -rw-r--r-- | openjdkjvmti/ti_search.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openjdkjvmti/ti_search.cc b/openjdkjvmti/ti_search.cc index 526836ecfd..3ddf4abeed 100644 --- a/openjdkjvmti/ti_search.cc +++ b/openjdkjvmti/ti_search.cc @@ -247,9 +247,9 @@ jvmtiError SearchUtil::AddToBootstrapClassLoaderSearch(jvmtiEnv* env, return ERR(ILLEGAL_ARGUMENT); } - art::ScopedObjectAccess soa(art::Thread::Current()); + current->AppendToBootClassPath(segment, segment, dex_files); for (std::unique_ptr<const art::DexFile>& dex_file : dex_files) { - current->GetClassLinker()->AppendToBootClassPath(art::Thread::Current(), dex_file.release()); + dex_file.release(); } return ERR(NONE); |