Skip to content

Creating additional callbacks in JVMTI Agent #4154

Answered by anderruiz
anderruiz asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to receive the callback property with this signature:

public static void onClassFileLoadHook(final JvmtiEnv jvmti, final JNIEnvironment jni, final JNIObjectHandle clazz,
	final JNIObjectHandle loader,
	final CCharPointer name, final Object protectionDomain, final int dataLen, final CCharPointer data,
	final CIntPointer newDataLength, final CCharPointerPointer newData)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anderruiz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant