7035161: assert(!o->is_null_object()) failed: null object not yet handled here.
Reviewed-by: kvn
--- a/hotspot/src/share/vm/ci/ciInstance.cpp Fri Apr 08 20:52:28 2011 -0700
+++ b/hotspot/src/share/vm/ci/ciInstance.cpp Fri Apr 08 23:00:14 2011 -0700
@@ -66,8 +66,8 @@
"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();