JNI CallStaticObjectMethod is causing crash with Java 21
The company I work for recently moved to Java 21 from Java 8, which updated the JNI version as well that is used with interoperatibility with C++. All the function (written in C++) called through JNI work fine on Java 8, but
the function CallStaticObjectMethod
is throwing Access Violation exception and causing crash.