mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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
|
@ -92,7 +92,7 @@ void ArrayKlass::complete_create_array_klass(ArrayKlass* k, KlassHandle super_kl
|
|||
ResourceMark rm(THREAD);
|
||||
k->initialize_supers(super_klass(), CHECK);
|
||||
k->vtable()->initialize_vtable(false, CHECK);
|
||||
java_lang_Class::create_mirror(k, Handle(NULL), Handle(NULL), CHECK);
|
||||
java_lang_Class::create_mirror(k, Handle(THREAD, k->class_loader()), Handle(NULL), CHECK);
|
||||
}
|
||||
|
||||
GrowableArray<Klass*>* ArrayKlass::compute_secondary_supers(int num_extra_slots) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue