Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8240529: CheckUnhandledOops breaks NULL check in Modules::define_module
Reviewed-by: coleenp, lfoltan, hseigel
  • Loading branch information
stefank committed Mar 4, 2020
1 parent 593a05c commit 43e0fc04b0c4e7edf1a629814fe201c578df45fc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hotspot/share/classfile/modules.cpp
@@ -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);
}
}

0 comments on commit 43e0fc0

Please sign in to comment.