src/hotspot/share/classfile/classLoader.cpp
changeset 48473 9a5bcee1a706
parent 48470 1d24b76cf639
child 49037 dc68aeea4840
--- a/src/hotspot/share/classfile/classLoader.cpp	Wed Dec 20 10:05:09 2017 -0500
+++ b/src/hotspot/share/classfile/classLoader.cpp	Wed Dec 20 11:30:23 2017 -0800
@@ -803,7 +803,7 @@
   bool set_base_piece = true;
 
 #if INCLUDE_CDS
-  if (DumpSharedSpaces || UseSharedSpaces) {
+  if (DumpSharedSpaces) {
     if (!Arguments::has_jimage()) {
       vm_exit_during_initialization("CDS is not supported in exploded JDK build", NULL);
     }