< prev index next >

src/hotspot/share/classfile/systemDictionary.cpp

Print this page

        

@@ -244,10 +244,11 @@
 
 
 // Forwards to resolve_array_class_or_null or resolve_instance_class_or_null
 
 Klass* SystemDictionary::resolve_or_null(Symbol* class_name, Handle class_loader, Handle protection_domain, TRAPS) {
+  assert(class_name != NULL, "must not be NULL");
   if (FieldType::is_array(class_name)) {
     return resolve_array_class_or_null(class_name, class_loader, protection_domain, THREAD);
   } else {
     return resolve_instance_class_or_null_helper(class_name, class_loader, protection_domain, THREAD);
   }
< prev index next >