mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8240529: CheckUnhandledOops breaks NULL check in Modules::define_module
Reviewed-by: coleenp, lfoltan, hseigel
This commit is contained in:
parent
593a05c93a
commit
43e0fc04b0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue