mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8066670: PrintSharedArchiveAndExit does not exit the VM when the archive is invalid
In FileMapInfo::fail_continue do not set UseSharedSpaces = false Reviewed-by: dholmes, ccheung
This commit is contained in:
parent
a0b9a703fc
commit
ea256a978f
3 changed files with 87 additions and 4 deletions
|
@ -98,11 +98,11 @@ void FileMapInfo::fail_continue(const char *msg, ...) {
|
|||
tty->print_cr("UseSharedSpaces: %s", msg);
|
||||
}
|
||||
}
|
||||
UseSharedSpaces = false;
|
||||
assert(current_info() != NULL, "singleton must be registered");
|
||||
current_info()->close();
|
||||
}
|
||||
va_end(ap);
|
||||
UseSharedSpaces = false;
|
||||
assert(current_info() != NULL, "singleton must be registered");
|
||||
current_info()->close();
|
||||
}
|
||||
|
||||
// Fill in the fileMapInfo structure with data about this VM instance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue