mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-12 22:50:08 +00:00
8350668: has_extra_module_paths in filemap.cpp may be uninitialized
Reviewed-by: ccheung, shade
This commit is contained in:
parent
829d7a845e
commit
d422abc55a
@ -303,7 +303,7 @@ bool FileMapInfo::validate_class_location() {
|
||||
assert(CDSConfig::is_using_archive(), "runtime only");
|
||||
|
||||
AOTClassLocationConfig* config = header()->class_location_config();
|
||||
bool has_extra_module_paths;
|
||||
bool has_extra_module_paths = false;
|
||||
if (!config->validate(header()->has_aot_linked_classes(), &has_extra_module_paths)) {
|
||||
if (PrintSharedArchiveAndExit) {
|
||||
MetaspaceShared::set_archive_loading_failed();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user