--- old/src/hotspot/share/classfile/moduleEntry.cpp 2020-06-23 12:35:20.819198806 -0700 +++ new/src/hotspot/share/classfile/moduleEntry.cpp 2020-06-23 12:35:20.639192031 -0700 @@ -57,7 +57,7 @@ if (location != NULL) { location->increment_refcount(); CDS_ONLY(if (UseSharedSpaces) { - _shared_path_index = FileMapInfo::get_module_shared_path_index(_location); + _shared_path_index = FileMapInfo::get_module_shared_path_index(location); }); } }