6790209: server VM fails with assert(will_link,"_new: typeflow responsibility")

Fri, 16 Jan 2009 11:23:10 -0800

author
kvn
date
Fri, 16 Jan 2009 11:23:10 -0800
changeset 991
48bb4a49b7ac
parent 990
35ae4dd6c27c
child 992
465813e0303a

6790209: server VM fails with assert(will_link,"_new: typeflow responsibility")
Summary: Add missing code for reflection class loader in SystemDictionary::find().
Reviewed-by: never, jrose

src/share/vm/classfile/systemDictionary.cpp file | annotate | diff | comparison | revisions
     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  

mercurial