hotspot/src/share/vm/classfile/moduleEntry.cpp
changeset 42634 7459867ebf98
parent 42575 bd1618170c93
child 42636 aafc434ba580
equal deleted inserted replaced
42632:c4f00b77b6d4 42634:7459867ebf98
   299 
   299 
   300   entry->set_loader_data(loader_data);
   300   entry->set_loader_data(loader_data);
   301   entry->set_version(version);
   301   entry->set_version(version);
   302   entry->set_location(location);
   302   entry->set_location(location);
   303 
   303 
       
   304   if (ClassLoader::is_in_patch_mod_entries(name)) {
       
   305     entry->set_is_patched();
       
   306     if (log_is_enabled(Trace, modules, patch)) {
       
   307       ResourceMark rm;
       
   308       log_trace(modules, patch)("Marked module %s as patched from --patch-module", name->as_C_string());
       
   309     }
       
   310   }
       
   311 
   304   TRACE_INIT_MODULE_ID(entry);
   312   TRACE_INIT_MODULE_ID(entry);
   305 
   313 
   306   return entry;
   314   return entry;
   307 }
   315 }
   308 
   316