Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit 43e0fc0

Browse files
committedMar 4, 2020
8240529: CheckUnhandledOops breaks NULL check in Modules::define_module
Reviewed-by: coleenp, lfoltan, hseigel
1 parent 593a05c commit 43e0fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/hotspot/share/classfile/modules.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ void Modules::define_module(jobject module, jboolean is_open, jstring version,
453453

454454
// If the module is defined to the boot loader and an exploded build is being
455455
// used, prepend <java.home>/modules/modules_name to the system boot class path.
456-
if (loader == NULL && !ClassLoader::has_jrt_entry()) {
456+
if (h_loader.is_null() && !ClassLoader::has_jrt_entry()) {
457457
ClassLoader::add_to_exploded_build_list(module_symbol, CHECK);
458458
}
459459
}

0 commit comments

Comments
 (0)