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

Remove assert to decouple JDK and HotSpot additions of known types.

Reviewed-by: mchung
This commit is contained in:
Daniel D. Daugherty 2010-03-23 14:37:18 -07:00
parent 1408dbfdbe
commit 30e02ce948

View File

@ -1537,7 +1537,6 @@ bool add_global_entry(JNIEnv* env, Handle name, jmmVMGlobal *global, Flag *flag,
global->type = JMM_VMGLOBAL_TYPE_JSTRING; global->type = JMM_VMGLOBAL_TYPE_JSTRING;
} else { } else {
global->type = JMM_VMGLOBAL_TYPE_UNKNOWN; global->type = JMM_VMGLOBAL_TYPE_UNKNOWN;
assert(false, "Unsupported VMGlobal Type");
return false; return false;
} }