hotspot/src/share/vm/classfile/dictionary.cpp
changeset 15847 f9ce2cd20dee
parent 14588 8ec26d2d9339
child 17075 b53332c50aba
--- a/hotspot/src/share/vm/classfile/dictionary.cpp	Tue Feb 26 14:09:52 2013 +0100
+++ b/hotspot/src/share/vm/classfile/dictionary.cpp	Thu Feb 21 17:22:15 2013 +0100
@@ -347,6 +347,7 @@
   assert_locked_or_safepoint(SystemDictionary_lock);
   assert(obj() != NULL, "adding NULL obj");
   assert(obj()->name() == class_name, "sanity check on name");
+  assert(loader_data != NULL, "Must be non-NULL");
 
   unsigned int hash = compute_hash(class_name, loader_data);
   int index = hash_to_index(hash);