From 982ecedecd2326f9b28ee60a3feb56b299e1c2bc Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Mon, 29 Mar 2021 08:49:38 +0100 Subject: Remove '&' class loader context. This is now an unsupported context. Test: class_loader_context Bug: 132357300 Change-Id: I21bc6e3529944a57379845e90c7f49759db30d40 --- runtime/class_loader_context.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'runtime/class_loader_context.h') diff --git a/runtime/class_loader_context.h b/runtime/class_loader_context.h index 88e82dd285..33af16a225 100644 --- a/runtime/class_loader_context.h +++ b/runtime/class_loader_context.h @@ -39,7 +39,6 @@ class ClassLoaderContext { public: enum class VerificationResult { kVerifies, - kForcedToSkipChecks, kMismatch, }; @@ -365,13 +364,6 @@ class ClassLoaderContext { // The class loader chain. std::unique_ptr class_loader_chain_; - // Whether or not the class loader context should be ignored at runtime when loading the oat - // files. When true, dex2oat will use OatFile::kSpecialSharedLibrary as the classpath key in - // the oat file. - // TODO(calin): Can we get rid of this and cover all relevant use cases? - // (e.g. packages using prebuild system packages as shared libraries b/36480683) - bool special_shared_library_; - // The opening state of the dex files. ContextDexFilesState dex_files_state_; -- cgit v1.2.3-59-g8ed1b