mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8023381: VM fails to initialize in runtime/CDSCompressedKPtrs/XShareAuto.java runtime/SharedArchiveFile/CdsSameObjectAlignment.java
Improve handling when CDS archive cannot be mapped Reviewed-by: kvn, dholmes, mseledtsov
This commit is contained in:
parent
dac29a1204
commit
a320f6a566
4 changed files with 5 additions and 5 deletions
|
@ -55,6 +55,7 @@ static void fail(const char *msg, va_list ap) {
|
|||
" shared archive file.\n");
|
||||
jio_vfprintf(defaultStream::error_stream(), msg, ap);
|
||||
jio_fprintf(defaultStream::error_stream(), "\n");
|
||||
// Do not change the text of the below message because some tests check for it.
|
||||
vm_exit_during_initialization("Unable to use shared archive.", NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue