diff --git a/ReactCommon/turbomodule/core/platform/android/JavaTurboModule.cpp b/ReactCommon/turbomodule/core/platform/android/JavaTurboModule.cpp index d30a93c547b..77338d0aae1 100644 --- a/ReactCommon/turbomodule/core/platform/android/JavaTurboModule.cpp +++ b/ReactCommon/turbomodule/core/platform/android/JavaTurboModule.cpp @@ -109,7 +109,7 @@ jsi::Value convertFromJMapToValue(JNIEnv *env, jsi::Runtime &rt, jobject arg) { // This could also be done purely in C++, but iterative over map methods // but those may end up calling reflection methods anyway // TODO (axe) Investigate the best way to convert Java Map to Value - static jclass jArguments = env->FindClass("com/facebook/react/bridge/Arguments"); + jclass jArguments = env->FindClass("com/facebook/react/bridge/Arguments"); static jmethodID jMakeNativeMap = env->GetStaticMethodID(jArguments, "makeNativeMap", "(Ljava/util/Map;)Lcom/facebook/react/bridge/WritableNativeMap;"); auto constants = (jobject) env->CallStaticObjectMethod(jArguments, jMakeNativeMap, arg); auto jResult = jni::adopt_local(constants);