6831604: missing null check in guarantee
Reviewed-by: kvn
This commit is contained in:
parent
cdcc52dcab
commit
425fb8197e
@ -929,7 +929,8 @@ public:
|
|||||||
guarantee(SystemDictionary::constraints()->number_of_entries() == 0,
|
guarantee(SystemDictionary::constraints()->number_of_entries() == 0,
|
||||||
"loader constraints are not saved");
|
"loader constraints are not saved");
|
||||||
// Revisit and implement this if we prelink method handle call sites:
|
// Revisit and implement this if we prelink method handle call sites:
|
||||||
guarantee(SystemDictionary::invoke_method_table()->number_of_entries() == 0,
|
guarantee(SystemDictionary::invoke_method_table() == NULL ||
|
||||||
|
SystemDictionary::invoke_method_table()->number_of_entries() == 0,
|
||||||
"invoke method table is not saved");
|
"invoke method table is not saved");
|
||||||
GenCollectedHeap* gch = GenCollectedHeap::heap();
|
GenCollectedHeap* gch = GenCollectedHeap::heap();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user