提交 d876c863 编写于 作者: D dcubed

6915365: 3/4 assert(false,"Unsupported VMGlobal Type") at management.cpp:1540

Summary: Remove exception throw to decouple JDK and HotSpot additions of known types.
Reviewed-by: mchung
上级 a5cd2ba4
......@@ -133,11 +133,8 @@ Java_sun_management_Flag_getFlags
globals[i].value.j);
break;
default:
// unsupported type
sprintf(errmsg, "Unsupported VMGlobal Type %d", globals[i].type);
JNU_ThrowInternalError(env, errmsg);
free(globals);
return 0;
// ignore unsupported type
continue;
}
switch (globals[i].origin) {
case JMM_VMGLOBAL_ORIGIN_DEFAULT:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册