mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-23 22:29:55 +00:00
8240529: CheckUnhandledOops breaks NULL check in Modules::define_module
Reviewed-by: coleenp, lfoltan, hseigel
This commit is contained in:
parent
593a05c93a
commit
43e0fc04b0
@ -453,7 +453,7 @@ void Modules::define_module(jobject module, jboolean is_open, jstring version,
|
||||
|
||||
// If the module is defined to the boot loader and an exploded build is being
|
||||
// used, prepend <java.home>/modules/modules_name to the system boot class path.
|
||||
if (loader == NULL && !ClassLoader::has_jrt_entry()) {
|
||||
if (h_loader.is_null() && !ClassLoader::has_jrt_entry()) {
|
||||
ClassLoader::add_to_exploded_build_list(module_symbol, CHECK);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user