equal
deleted
inserted
replaced
103 |
103 |
104 // During bootstrapping, before java.base is defined, the module_entry may not be present yet. |
104 // During bootstrapping, before java.base is defined, the module_entry may not be present yet. |
105 // These classes will be put on a fixup list and their module fields will be patched once |
105 // These classes will be put on a fixup list and their module fields will be patched once |
106 // java.base is defined. |
106 // java.base is defined. |
107 assert((module_entry != NULL) || ((module_entry == NULL) && !ModuleEntryTable::javabase_defined()), |
107 assert((module_entry != NULL) || ((module_entry == NULL) && !ModuleEntryTable::javabase_defined()), |
108 "module entry not available post java.base definition"); |
108 "module entry not available post " JAVA_BASE_NAME " definition"); |
109 oop module = (module_entry != NULL) ? JNIHandles::resolve(module_entry->module()) : (oop)NULL; |
109 oop module = (module_entry != NULL) ? JNIHandles::resolve(module_entry->module()) : (oop)NULL; |
110 java_lang_Class::create_mirror(k, Handle(THREAD, k->class_loader()), Handle(THREAD, module), Handle(NULL), CHECK); |
110 java_lang_Class::create_mirror(k, Handle(THREAD, k->class_loader()), Handle(THREAD, module), Handle(NULL), CHECK); |
111 } |
111 } |
112 |
112 |
113 GrowableArray<Klass*>* ArrayKlass::compute_secondary_supers(int num_extra_slots) { |
113 GrowableArray<Klass*>* ArrayKlass::compute_secondary_supers(int num_extra_slots) { |