JVMTI ClassLoad callback function help
Hi, In my ClassLoad function I'm tyring to get the class name from the jclass that is passed to the function so that I would have something like this:
staticvoid JNICALL
cbClassLoad(jvmtiEnv *jvmti, JNIEnv* jni, jthread thread, jclass klass)
{
constchar *class_name;
class_name = (*jni)->GetClassName(&klass);
}
Is something like this possible? I've been searching for a while but I can't find anything usefull.

