< prev index next >

src/hotspot/share/classfile/moduleEntry.cpp

Print this page

@@ -55,11 +55,11 @@
   _location = location;
 
   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);
       });
   }
 }
 
 // Return true if the module's version should be displayed in error messages,
< prev index next >