534 |
534 |
535 // Recreate the class mirror. |
535 // Recreate the class mirror. |
536 // Only recreate it if not present. A previous attempt to restore may have |
536 // Only recreate it if not present. A previous attempt to restore may have |
537 // gotten an OOM later but keep the mirror if it was created. |
537 // gotten an OOM later but keep the mirror if it was created. |
538 if (java_mirror() == NULL) { |
538 if (java_mirror() == NULL) { |
539 java_lang_Class::create_mirror(this, protection_domain, CHECK); |
539 java_lang_Class::create_mirror(this, class_loader(), protection_domain, CHECK); |
540 } |
540 } |
541 } |
541 } |
542 |
542 |
543 Klass* Klass::array_klass_or_null(int rank) { |
543 Klass* Klass::array_klass_or_null(int rank) { |
544 EXCEPTION_MARK; |
544 EXCEPTION_MARK; |