7035161: assert(!o->is_null_object()) failed: null object not yet handled here

Reviewed-by: kvn
This commit is contained in:
Tom Rodriguez 2011-04-08 23:00:14 -07:00
parent 83ccc5e2c6
commit bbb0b31bfe

View File

@ -66,8 +66,8 @@ ciConstant ciInstance::field_value(ciField* field) {
"invalid access");
VM_ENTRY_MARK;
ciConstant result;
oop obj = get_oop();
assert(obj != NULL, "bad oop");
Handle obj = get_oop();
assert(!obj.is_null(), "bad oop");
BasicType field_btype = field->type()->basic_type();
int offset = field->offset();