8304484: CDS dynamic dumping incorrectly leads to "Error occurred during initialization of VM"
Reviewed-by: ccheung, iklam
This commit is contained in:
parent
cec222e460
commit
be3676f6bb
@ -470,7 +470,7 @@ bool ClassPathImageEntry::is_modules_image() const {
|
||||
void ClassLoader::exit_with_path_failure(const char* error, const char* message) {
|
||||
assert(CDSConfig::is_dumping_archive(), "sanity");
|
||||
tty->print_cr("Hint: enable -Xlog:class+path=info to diagnose the failure");
|
||||
vm_exit_during_initialization(error, message);
|
||||
vm_exit_during_cds_dumping(error, message);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user