This commit is contained in:
Keith McGuigan 2012-02-15 00:09:31 -05:00
commit 1f8105e44c

View File

@ -82,7 +82,7 @@ jlong DTraceJSDT::activate(
int handle = pd_activate((void*)probes,
module_name, providers_count, providers);
if (handle <= 0) {
if (handle < 0) {
delete probes;
THROW_MSG_0(vmSymbols::java_lang_RuntimeException(),
"Unable to register DTrace probes (internal error).");