mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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
|
@ -372,7 +372,9 @@ void os::init_system_properties_values() {
|
|||
}
|
||||
}
|
||||
Arguments::set_java_home(buf);
|
||||
set_boot_path('/', ':');
|
||||
if (!set_boot_path('/', ':')) {
|
||||
vm_exit_during_initialization("Failed setting boot class path.", NULL);
|
||||
}
|
||||
}
|
||||
|
||||
// Where to look for native libraries.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue