From 34fdf4ce1a3445f2cf1223fbf05c3e1443ed02ec Mon Sep 17 00:00:00 2001 From: yalixie Date: Fri, 25 Jul 2025 19:15:37 +0300 Subject: [PATCH] Remove g_defaultClasspaths for convertors-ani.cc --- interop/src/cpp/ani/convertors-ani.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interop/src/cpp/ani/convertors-ani.cc b/interop/src/cpp/ani/convertors-ani.cc index b564d5295..85a3dc34f 100644 --- a/interop/src/cpp/ani/convertors-ani.cc +++ b/interop/src/cpp/ani/convertors-ani.cc @@ -147,9 +147,9 @@ void AniExports::setClasspath(const char* module, const char *classpath) { static std::map g_defaultClasspaths = { {"InteropNativeModule", "@koalaui.interop.InteropNativeModule.InteropNativeModule"}, // Improve: leave just InteropNativeModule, define others via KOALA_ETS_INTEROP_MODULE_CLASSPATH - {"TestNativeModule", "arkui.generated.arkts.TestNativeModule.TestNativeModule"}, - {"ArkUINativeModule", "arkui.generated.arkts.ArkUINativeModule.ArkUINativeModule"}, - {"ArkUIGeneratedNativeModule", "arkui.generated.arkts.ArkUIGeneratedNativeModule.ArkUIGeneratedNativeModule"}, + {"TestNativeModule", "@ohos.arkui.generated.arkts.TestNativeModule.TestNativeModule"}, + {"ArkUINativeModule", "@ohos.arkui.generated.arkts.ArkUINativeModule.ArkUINativeModule"}, + {"ArkUIGeneratedNativeModule", "@ohos.arkui.generated.arkts.ArkUIGeneratedNativeModule.ArkUIGeneratedNativeModule"}, }; const std::string& AniExports::getClasspath(const std::string& module) { -- Gitee