1.1 --- a/src/share/vm/classfile/systemDictionary.cpp Wed Jan 14 14:12:00 2009 -0800 1.2 +++ b/src/share/vm/classfile/systemDictionary.cpp Fri Jan 16 11:23:10 2009 -0800 1.3 @@ -841,6 +841,12 @@ 1.4 Handle protection_domain, 1.5 TRAPS) { 1.6 1.7 + // UseNewReflection 1.8 + // The result of this call should be consistent with the result 1.9 + // of the call to resolve_instance_class_or_null(). 1.10 + // See evaluation 6790209 and 4474172 for more details. 1.11 + class_loader = Handle(THREAD, java_lang_ClassLoader::non_reflection_class_loader(class_loader())); 1.12 + 1.13 unsigned int d_hash = dictionary()->compute_hash(class_name, class_loader); 1.14 int d_index = dictionary()->hash_to_index(d_hash); 1.15