mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8205946: JVM crash after call to ClassLoader::setup_bootstrap_search_path()
Exit vm if setting of boot class path fails. Reviewed-by: lfoltan, jiangli, dholmes
This commit is contained in:
parent
85daddd4cf
commit
a10d6e71d8
7 changed files with 42 additions and 5 deletions
|
@ -549,6 +549,7 @@ void ClassLoader::trace_class_path(const char* msg, const char* name) {
|
|||
|
||||
void ClassLoader::setup_bootstrap_search_path() {
|
||||
const char* sys_class_path = Arguments::get_sysclasspath();
|
||||
assert(sys_class_path != NULL, "System 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue