diff --git a/src/libloader/common/Loader.cpp b/src/libloader/common/Loader.cpp index 38ee993..31dcc75 100644 --- a/src/libloader/common/Loader.cpp +++ b/src/libloader/common/Loader.cpp @@ -72,7 +72,7 @@ void entrypoint(const char* runtime_dir) { } // Attach to JVM - jvm::Jvm jvm; + JuiceAgent::Loader::JvmManager::Jvm jvm; if (!jvm.attach()) { PLOGE << "Attach to JVM failed"; return; @@ -101,4 +101,4 @@ void entrypoint(const char* runtime_dir) { } } -} // namespace libloader \ No newline at end of file +} // namespace JuiceAgent::Loader \ No newline at end of file diff --git a/src/libloader/includes/JvmManager.hpp b/src/libloader/includes/JvmManager.hpp index bf87ed5..cd64179 100644 --- a/src/libloader/includes/JvmManager.hpp +++ b/src/libloader/includes/JvmManager.hpp @@ -6,7 +6,7 @@ #include #include -namespace jvm +namespace JuiceAgent::Loader::JvmManager { class Jvm { private: @@ -119,4 +119,4 @@ namespace jvm thread_local JNIEnv* Jvm::env = nullptr; -} // namespace jvm \ No newline at end of file +} // namespace JuiceAgent::Loader::JvmManager \ No newline at end of file