mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8169734: Update uses of string "java.base" to macro
Replaced instances of "java.base" string with JAVA_BASE_NAME macro Reviewed-by: sspitsyn, dcubed
This commit is contained in:
parent
da0b1b46e0
commit
9c6128c943
9 changed files with 32 additions and 28 deletions
|
@ -105,7 +105,7 @@ void ArrayKlass::complete_create_array_klass(ArrayKlass* k, KlassHandle super_kl
|
|||
// These classes will be put on a fixup list and their module fields will be patched once
|
||||
// java.base is defined.
|
||||
assert((module_entry != NULL) || ((module_entry == NULL) && !ModuleEntryTable::javabase_defined()),
|
||||
"module entry not available post java.base definition");
|
||||
"module entry not available post " JAVA_BASE_NAME " definition");
|
||||
oop module = (module_entry != NULL) ? JNIHandles::resolve(module_entry->module()) : (oop)NULL;
|
||||
java_lang_Class::create_mirror(k, Handle(THREAD, k->class_loader()), Handle(THREAD, module), Handle(NULL), CHECK);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue