hotspot/src/share/vm/oops/constantPool.cpp
changeset 16383 57cb9d398a11
parent 15799 6aa92f9debd2
child 16670 4af09aff4237
--- a/hotspot/src/share/vm/oops/constantPool.cpp	Thu Mar 21 10:11:24 2013 -0700
+++ b/hotspot/src/share/vm/oops/constantPool.cpp	Thu Mar 21 10:13:56 2013 -0700
@@ -1852,6 +1852,7 @@
   switch (tag_at(index).value()) {
     case JVM_CONSTANT_Class :
       { Klass* k = klass_at(index, CATCH);
+        guarantee(k != NULL, "need klass");
         k->print_value_on(st);
         st->print(" {0x%lx}", (address)k);
       }