Date: Thu, 11 Sep 2025 19:13:36 +0300
Subject: [PATCH] Disable default ahead-of-time verification for apps

Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/ICWPZW
Issue: https://gitcode.com/openharmony/ability_ability_runtime/issues/14401

Disable default ahead-of-time verification for apps due to valid verification error about calling method from external class MyCallback

Signed-off-by: Anna Antipina <antipina.anna1@huawei.com>

Signed-off-by: wuyuanchao4 <wuyuanchao4@huawei.com>
This commit is contained in:
wuyuanchao4
2026-02-02 16:16:48 +08:00
parent 8c1c64a7e2
commit 3c4bbfde4d
@@ -259,6 +259,7 @@ bool ETSEnvironment::Initialize(const std::shared_ptr<AppExecFwk::EventRunner> e
options.push_back(ani_option { "--ext:--compiler-enable-jit=false", nullptr });
options.push_back(ani_option { "--ext:--log-level=info", nullptr });
options.push_back(ani_option { "--ext:taskpool-support-interop=true", nullptr });
options.push_back(ani_option { "--ext:--verification-mode=disabled", nullptr });
std::string interpreerMode = "--ext:--interpreter-type=cpp";
std::string debugEnalbeMode = "--ext:--debugger-enable=true";
std::string debugLibraryPathMode = "--ext:--debugger-library-path=/system/lib64/libarkinspector.so";