< prev index next >
src/hotspot/share/runtime/arguments.cpp
Print this page
*** 1583,1593 ****
// incompatible command line options were chosen.
static void no_shared_spaces(const char* message) {
if (RequireSharedSpaces) {
jio_fprintf(defaultStream::error_stream(),
"Class data sharing is inconsistent with other specified options.\n");
! vm_exit_during_initialization("Unable to use shared archive.", message);
} else {
FLAG_SET_DEFAULT(UseSharedSpaces, false);
}
}
--- 1583,1593 ----
// incompatible command line options were chosen.
static void no_shared_spaces(const char* message) {
if (RequireSharedSpaces) {
jio_fprintf(defaultStream::error_stream(),
"Class data sharing is inconsistent with other specified options.\n");
! vm_exit_during_initialization("Unable to use shared archive", message);
} else {
FLAG_SET_DEFAULT(UseSharedSpaces, false);
}
}
< prev index next >