Commit 13aa05d2 authored by Lubomir Bulej's avatar Lubomir Bulej

Fixed a bug in dislreagent.c causing crashes on JVMTI class file load event without class name.

Thanks to Peter Junos <petoju@gmail.com> for reporting.
parent 54647e95
......@@ -1347,6 +1347,13 @@ void JNICALL jvmti_callback_class_file_load_hook(
printf("Sending new class (thread %ld)\n", tld_get()->id);
#endif
if (name == NULL) {
#ifdef DEBUG
printf("Skipped class with no name (thread %ld)\n", tld_get()->id);
#endif
return;
}
// *** send new class message ***
// tag the class loader - with lock
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment