diff options
| -rw-r--r-- | cmdline/cmdline.h | 5 | ||||
| -rw-r--r-- | dex2oat/linker/image_write_read_test.cc | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/cmdline/cmdline.h b/cmdline/cmdline.h index 20f5dbed7f..39fcaebd63 100644 --- a/cmdline/cmdline.h +++ b/cmdline/cmdline.h @@ -33,11 +33,9 @@ #include "base/logging.h" #include "base/mutex.h" #include "base/utils.h" -#include "jni/jni_env_ext.h" #include "noop_compiler_callbacks.h" #include "oat/oat_file_assistant_context.h" #include "runtime.h" -#include "well_known_classes.h" #if !defined(NDEBUG) #define DBG_LOG LOG(INFO) @@ -87,9 +85,6 @@ static Runtime* StartRuntime(const std::vector<std::string>& boot_image_location return nullptr; } - // Need well-known-classes. - WellKnownClasses::Init(Thread::Current()->GetJniEnv()); - // Runtime::Create acquired the mutator_lock_ that is normally given away when we Runtime::Start, // give it away now and then switch to a more manageable ScopedObjectAccess. Thread::Current()->TransitionFromRunnableToSuspended(ThreadState::kNative); diff --git a/dex2oat/linker/image_write_read_test.cc b/dex2oat/linker/image_write_read_test.cc index d7fb242fc9..aadcbea894 100644 --- a/dex2oat/linker/image_write_read_test.cc +++ b/dex2oat/linker/image_write_read_test.cc @@ -78,8 +78,6 @@ void ImageWriteReadTest::TestWriteRead(ImageHeader::StorageMode storage_mode, return; } runtime_.reset(Runtime::Current()); - // Need well-known-classes. - WellKnownClasses::Init(Thread::Current()->GetJniEnv()); // Runtime::Create acquired the mutator_lock_ that is normally given away when we Runtime::Start, // give it away now and then switch to a more managable ScopedObjectAccess. Thread::Current()->TransitionFromRunnableToSuspended(ThreadState::kNative); |