8219685: Startup failure: assert(!Universe::is_module_initialized()) failed: Incorrect java.lang.Module pre module system initialization
Reviewed-by: lfoltan, redestad
This commit is contained in:
parent
1e2234d57c
commit
7a6896f3b3
@ -834,8 +834,8 @@ void java_lang_Class::set_mirror_module_field(Klass* k, Handle mirror, Handle mo
|
|||||||
if (module.is_null()) {
|
if (module.is_null()) {
|
||||||
// During startup, the module may be NULL only if java.base has not been defined yet.
|
// During startup, the module may be NULL only if java.base has not been defined yet.
|
||||||
// Put the class on the fixup_module_list to patch later when the java.lang.Module
|
// Put the class on the fixup_module_list to patch later when the java.lang.Module
|
||||||
// for java.base is known.
|
// for java.base is known. But note that since we captured the NULL module another
|
||||||
assert(!Universe::is_module_initialized(), "Incorrect java.lang.Module pre module system initialization");
|
// thread may have completed that initialization.
|
||||||
|
|
||||||
bool javabase_was_defined = false;
|
bool javabase_was_defined = false;
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user