equal
deleted
inserted
replaced
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 |