hotspot/src/share/vm/ci/ciInstance.cpp
changeset 9123 4c7a8da5653b
parent 8725 8c1e3dd5fe1b
child 13728 882756847a04
--- 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();