changeset 2543:3fa3c7e4d4f3

7035161: assert(!o->is_null_object()) failed: null object not yet handled here. Reviewed-by: kvn
author never
date Fri, 08 Apr 2011 23:00:14 -0700
parents 46d145ee8e68
children 6c97c830fb6f
files src/share/vm/ci/ciInstance.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/ci/ciInstance.cpp	Fri Apr 08 20:52:28 2011 -0700
+++ b/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();