Category : jvmti

public class some_class { public static void som_func() { var some_object = new SomeObject(); var ret = 0; do { ret = some_object.DoSomething(); } while(ret != 1); System.out.printf("Return value: %d", ret); } } Now in C++ if I call like this way: auto some_cls = g_env->FindClass("some_class"); auto some_func = g_env->GetStaticMethodID(some_cls, "som_func", "()V"); g_env->CallStaticVoidMethod(some_cls, some_func); Is ..

Read more