From f70d962b606a6cbbdabdebf19b78340910f21892 Mon Sep 17 00:00:00 2001 From: jbachorik Date: Thu, 6 Feb 2014 09:35:26 +0100 Subject: [PATCH] 8033301: Build more informative InfoBuilder Reviewed-by: sla, ahgross --- src/share/native/sun/management/GcInfoBuilder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/native/sun/management/GcInfoBuilder.c b/src/share/native/sun/management/GcInfoBuilder.c index 1d0bebd42..672cc6a77 100644 --- a/src/share/native/sun/management/GcInfoBuilder.c +++ b/src/share/native/sun/management/GcInfoBuilder.c @@ -190,7 +190,7 @@ JNIEXPORT jobject JNICALL Java_sun_management_GcInfoBuilder_getLastGcInfo0 if (ext_att_count <= 0) { JNU_ThrowIllegalArgumentException(env, "Invalid ext_att_count"); - return; + return 0; } gc_stat.usage_before_gc = usageBeforeGC; -- GitLab