Skip to content

Commit d422abc

Browse files
committedFeb 25, 2025
8350668: has_extra_module_paths in filemap.cpp may be uninitialized
Reviewed-by: ccheung, shade
1 parent 829d7a8 commit d422abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/hotspot/share/cds/filemap.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ bool FileMapInfo::validate_class_location() {
303303
assert(CDSConfig::is_using_archive(), "runtime only");
304304

305305
AOTClassLocationConfig* config = header()->class_location_config();
306-
bool has_extra_module_paths;
306+
bool has_extra_module_paths = false;
307307
if (!config->validate(header()->has_aot_linked_classes(), &has_extra_module_paths)) {
308308
if (PrintSharedArchiveAndExit) {
309309
MetaspaceShared::set_archive_loading_failed();

0 commit comments

Comments
 (0)