diff src/share/vm/classfile/systemDictionary.cpp @ 570:dca06e7f503d

Merge
author kvn
date Tue, 17 Feb 2009 14:30:24 -0800
parents a0401dc51d0b 48bb4a49b7ac
children 0fbdb4381b99
line wrap: on
line diff
--- a/src/share/vm/classfile/systemDictionary.cpp	Tue Feb 10 18:39:09 2009 +0300
+++ b/src/share/vm/classfile/systemDictionary.cpp	Tue Feb 17 14:30:24 2009 -0800
@@ -846,6 +846,12 @@
                                 Handle protection_domain,
                                 TRAPS) {
 
+  // UseNewReflection
+  // The result of this call should be consistent with the result
+  // of the call to resolve_instance_class_or_null().
+  // See evaluation 6790209 and 4474172 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);