diff options
author | 2018-11-28 16:06:12 +0000 | |
---|---|---|
committer | 2018-11-29 17:16:04 +0000 | |
commit | a66d69e884b6f9f41a8da31e6d27b498984c7fa3 (patch) | |
tree | 58efae80d2b2161feff23143ab620242d1c09605 /runtime/common_runtime_test.h | |
parent | 8f50b2c27f9b32726bbadfcebba910640b94036e (diff) |
Support shared libraries in CreateContextFromClassLoader.
Missed this method in my previous set of shared libraries support.
bug: 120036590
bug: 120031686
Test: test.py, app startup with speed-profile
Change-Id: I5c1ec567cfa5452a1f510a3279a9e15125f429ba
Diffstat (limited to 'runtime/common_runtime_test.h')
-rw-r--r-- | runtime/common_runtime_test.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h index c48ab3629c..0fee797015 100644 --- a/runtime/common_runtime_test.h +++ b/runtime/common_runtime_test.h @@ -115,11 +115,14 @@ class CommonRuntimeTestImpl : public CommonArtTestImpl { jobject LoadMultiDex(const char* first_dex_name, const char* second_dex_name) REQUIRES_SHARED(Locks::mutator_lock_); - jobject LoadDexInPathClassLoader(const std::string& dex_name, jobject parent_loader); + jobject LoadDexInPathClassLoader(const std::string& dex_name, + jobject parent_loader, + jobject shared_libraries = nullptr); jobject LoadDexInDelegateLastClassLoader(const std::string& dex_name, jobject parent_loader); jobject LoadDexInWellKnownClassLoader(const std::string& dex_name, jclass loader_class, - jobject parent_loader); + jobject parent_loader, + jobject shared_libraries = nullptr); std::unique_ptr<Runtime> runtime_; |