Mercurial > hg > truffle
comparison src/share/vm/classfile/javaClasses.cpp @ 20512:7d68a5b1069d
8058927: ATG throws ClassNotFoundException
Summary: ClassLoader for array klass set to null and not the class loader of the component type.
Reviewed-by: dcubed, ctornqvi
author | coleenp |
---|---|
date | Fri, 26 Sep 2014 12:50:30 -0400 |
parents | 47e3110c47e8 |
children | fe34c5ab0b35 |
comparison
equal
deleted
inserted
replaced
20506:2d6a3328ec99 | 20512:7d68a5b1069d |
---|---|
623 return; | 623 return; |
624 } | 624 } |
625 } | 625 } |
626 | 626 |
627 // set the classLoader field in the java_lang_Class instance | 627 // set the classLoader field in the java_lang_Class instance |
628 assert(class_loader() == k->class_loader(), "should be same"); | |
628 set_class_loader(mirror(), class_loader()); | 629 set_class_loader(mirror(), class_loader()); |
629 | 630 |
630 // Setup indirection from klass->mirror last | 631 // Setup indirection from klass->mirror last |
631 // after any exceptions can happen during allocations. | 632 // after any exceptions can happen during allocations. |
632 if (!k.is_null()) { | 633 if (!k.is_null()) { |