1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Add instrumentation tests to validate obb directory access

This commit is contained in:
Fredia Huya-Kouadio
2025-12-10 22:56:38 -08:00
parent b40afd6781
commit 280120b1f8
8 changed files with 121 additions and 3 deletions

View File

@@ -1657,7 +1657,7 @@ Ref<JavaClass> JavaClassWrapper::_wrap(const String &p_class, bool p_allow_non_p
String str_field = jstring_to_string(name, env);
env->DeleteLocalRef(name);
int mods = env->CallIntMethod(obj, Field_getModifiers);
if ((mods & 0x8) && (mods & 0x10) && (mods & 0x1)) { //static final public!
if ((mods & 0x8) && (mods & 0x1)) { //static public!
jobject objc = env->CallObjectMethod(obj, Field_get, nullptr);
if (objc) {