< prev index next >

src/hotspot/share/classfile/klassFactory.cpp

Print this page
rev 58452 : imported patch pkg_name_from_class

*** 92,103 **** if (cached_class_file != NULL) { new_ik->set_cached_class_file(cached_class_file); } if (class_loader.is_null()) { ! ResourceMark rm; ! ClassLoader::add_package(class_name->as_C_string(), path_index, THREAD); } return new_ik; } } --- 92,102 ---- if (cached_class_file != NULL) { new_ik->set_cached_class_file(cached_class_file); } if (class_loader.is_null()) { ! ClassLoader::add_package(new_ik, path_index, THREAD); } return new_ik; } }
< prev index next >