8064811: Use THREAD instead of CHECK_NULL in return statements

Reviewed-by: coleenp, simonis, dholmes
This commit is contained in:
Stefan Karlsson 2014-11-14 09:47:09 +01:00
parent 3b31df26c8
commit 95704b233c
25 changed files with 53 additions and 54 deletions

View file

@ -123,7 +123,7 @@ void SystemDictionary::compute_java_system_loader(TRAPS) {
ClassLoaderData* SystemDictionary::register_loader(Handle class_loader, TRAPS) {
if (class_loader() == NULL) return ClassLoaderData::the_null_class_loader_data();
return ClassLoaderDataGraph::find_or_create(class_loader, CHECK_NULL);
return ClassLoaderDataGraph::find_or_create(class_loader, THREAD);
}
// ----------------------------------------------------------------------------