mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8058927: ATG throws ClassNotFoundException
ClassLoader for array klass set to null and not the class loader of the component type. Reviewed-by: dcubed, ctornqvi
This commit is contained in:
parent
968d1fec16
commit
ae9681a5cf
3 changed files with 47 additions and 1 deletions
|
@ -636,6 +636,7 @@ void java_lang_Class::create_mirror(KlassHandle k, Handle class_loader,
|
|||
}
|
||||
|
||||
// set the classLoader field in the java_lang_Class instance
|
||||
assert(class_loader() == k->class_loader(), "should be same");
|
||||
set_class_loader(mirror(), class_loader());
|
||||
|
||||
// Setup indirection from klass->mirror last
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue