equal
deleted
inserted
replaced
509 |
509 |
510 // Add to null class loader list first before creating the mirror |
510 // Add to null class loader list first before creating the mirror |
511 // (same order as class file parsing) |
511 // (same order as class file parsing) |
512 loader_data->add_class(this); |
512 loader_data->add_class(this); |
513 |
513 |
514 // Recreate the class mirror |
514 // Recreate the class mirror. The protection_domain is always null for |
515 java_lang_Class::create_mirror(this, CHECK); |
515 // boot loader, for now. |
|
516 java_lang_Class::create_mirror(this, Handle(NULL), CHECK); |
516 } |
517 } |
517 |
518 |
518 Klass* Klass::array_klass_or_null(int rank) { |
519 Klass* Klass::array_klass_or_null(int rank) { |
519 EXCEPTION_MARK; |
520 EXCEPTION_MARK; |
520 // No exception can be thrown by array_klass_impl when called with or_null == true. |
521 // No exception can be thrown by array_klass_impl when called with or_null == true. |