hotspot/src/share/vm/ci/ciEnv.cpp
changeset 16378 453b42d22a85
parent 15799 6aa92f9debd2
child 17121 e40a97c700d9
child 17078 a37993c37937
--- a/hotspot/src/share/vm/ci/ciEnv.cpp	Wed Mar 20 06:32:49 2013 -0700
+++ b/hotspot/src/share/vm/ci/ciEnv.cpp	Wed Mar 20 06:36:04 2013 -0700
@@ -802,6 +802,7 @@
   // require checks to make sure the expected type was found.  Given that this
   // only occurs for clone() the more extensive fix seems like overkill so
   // instead we simply smear the array type into Object.
+  guarantee(method_holder != NULL, "no method holder");
   if (method_holder->is_instance_klass()) {
     return method_holder->as_instance_klass();
   } else if (method_holder->is_array_klass()) {