Revert "Optimize FindClass ClassNotFoundException case"
Bug: 130310316
Bug: 130293184
Bug: 130209120
Bug: 130680590
Test: TH
This reverts commit 9634705832d5eb1f64af7766917e3043648a538f.
Change-Id: I07f32256fe718c607e9c304073c4f8d614de1c48
diff --git a/runtime/class_linker.h b/runtime/class_linker.h
index f3c3ef8..5c3e620 100644
--- a/runtime/class_linker.h
+++ b/runtime/class_linker.h
@@ -120,8 +120,7 @@
public:
static constexpr bool kAppImageMayContainStrings = true;
- explicit ClassLinker(InternTable* intern_table,
- bool fast_class_not_found_exceptions = true);
+ explicit ClassLinker(InternTable* intern_table);
virtual ~ClassLinker();
// Initialize class linker by bootstraping from dex files.
@@ -1368,8 +1367,6 @@
InternTable* intern_table_;
- const bool fast_class_not_found_exceptions_;
-
// Trampolines within the image the bounce to runtime entrypoints. Done so that there is a single
// patch point within the image. TODO: make these proper relocations.
const void* quick_resolution_trampoline_;