diff options
author | 2020-06-05 18:34:49 +0100 | |
---|---|---|
committer | 2020-06-09 12:28:42 +0000 | |
commit | 1715efa0b46d57d587237829d1c0695aaca2c344 (patch) | |
tree | 61e7013808a8fa9c45384fa8d84bd7f3eb1eaf34 /dex2oat/driver/compiler_driver_test.cc | |
parent | 9922f00cf68aac69209216a0726a45eb6338763c (diff) |
Add a new class status for verified with access checks.
At runtime, we won't run the verifier for those classes, but run with
access checks enabled in the interpreter.
Bug: 157265232
Test: test.py
Change-Id: Ia087c3b6f9fcbd295307333e524945d844ef54dc
Diffstat (limited to 'dex2oat/driver/compiler_driver_test.cc')
-rw-r--r-- | dex2oat/driver/compiler_driver_test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dex2oat/driver/compiler_driver_test.cc b/dex2oat/driver/compiler_driver_test.cc index 50cb292a4d..3096fc31b9 100644 --- a/dex2oat/driver/compiler_driver_test.cc +++ b/dex2oat/driver/compiler_driver_test.cc @@ -353,8 +353,7 @@ TEST_F(CompilerDriverVerifyTest, RetryVerifcationStatusCheckVerified) { ++i) { const ClassStatus expected_status = enum_cast<ClassStatus>(i); // Skip unsupported status that are not supposed to be ever recorded. - if (expected_status == ClassStatus::kVerifyingAtRuntime || - expected_status == ClassStatus::kInitializing || + if (expected_status == ClassStatus::kInitializing || expected_status == ClassStatus::kInitialized) { continue; } |