8282986: Remove "system" in boot class path names

Reviewed-by: iklam, dholmes
This commit is contained in:
Coleen Phillimore 2022-07-07 15:27:55 +00:00
parent 74ca6ca25b
commit 8e7b45b820
6 changed files with 25 additions and 25 deletions

View file

@ -507,15 +507,15 @@ void ClassLoader::trace_class_path(const char* msg, const char* name) {
}
void ClassLoader::setup_bootstrap_search_path(JavaThread* current) {
const char* sys_class_path = Arguments::get_sysclasspath();
assert(sys_class_path != NULL, "System boot class path must not be NULL");
const char* bootcp = Arguments::get_boot_class_path();
assert(bootcp != NULL, "Boot class path must not be NULL");
if (PrintSharedArchiveAndExit) {
// Don't print sys_class_path - this is the bootcp of this current VM process, not necessarily
// the same as the bootcp of the shared archive.
// Don't print bootcp - this is the bootcp of this current VM process, not necessarily
// the same as the boot classpath of the shared archive.
} else {
trace_class_path("bootstrap loader class path=", sys_class_path);
trace_class_path("bootstrap loader class path=", bootcp);
}
setup_bootstrap_search_path_impl(current, sys_class_path);
setup_bootstrap_search_path_impl(current, bootcp);
}
#if INCLUDE_CDS
@ -673,7 +673,7 @@ void ClassLoader::setup_bootstrap_search_path_impl(JavaThread* current, const ch
}
set_base_piece = false;
} else {
// Every entry on the system boot class path after the initial base piece,
// Every entry on the boot class path after the initial base piece,
// which is set by os::set_boot_path(), is considered an appended entry.
update_class_path_entry_list(current, path, false, true, false);
}