# HG changeset patch
# User iklam
# Date 1575065510 28800
# Node ID f280911d34270ee6cd1a8aea3e15fce527e4744d
# Parent  2c3578aa0bdfb7b5808cb3b89e3f172a8b0a3a14
8230385: [cds] No message is logged when shared image cannot be used due to mismatched configuration
Reviewed-by: stuefe, dholmes, ccheung

diff -r 2c3578aa0bdf -r f280911d3427 src/hotspot/share/runtime/arguments.cpp
--- a/src/hotspot/share/runtime/arguments.cpp	Fri Nov 29 17:31:01 2019 +0100
+++ b/src/hotspot/share/runtime/arguments.cpp	Fri Nov 29 14:11:50 2019 -0800
@@ -1645,6 +1645,7 @@
       "Class data sharing is inconsistent with other specified options.\n");
     vm_exit_during_initialization("Unable to use shared archive", message);
   } else {
+    log_info(cds)("Unable to use shared archive: %s", message);
     FLAG_SET_DEFAULT(UseSharedSpaces, false);
   }
 }