--- old/src/share/vm/classfile/systemDictionary.cpp Thu Jan 15 16:07:11 2009 +++ new/src/share/vm/classfile/systemDictionary.cpp Thu Jan 15 16:07:11 2009 @@ -841,6 +841,10 @@ Handle protection_domain, TRAPS) { + // UseNewReflection + // Fix for 4474172; see evaluation for more details + class_loader = Handle(THREAD, java_lang_ClassLoader::non_reflection_class_loader(class_loader())); + unsigned int d_hash = dictionary()->compute_hash(class_name, class_loader); int d_index = dictionary()->hash_to_index(d_hash);