src/hotspot/share/classfile/sharedPathsMiscInfo.cpp
changeset 49931 840e26123940
parent 49593 4dd58ecc9912
child 50039 9fec54fe663d
--- a/src/hotspot/share/classfile/sharedPathsMiscInfo.cpp	Mon Apr 30 13:40:39 2018 -0700
+++ b/src/hotspot/share/classfile/sharedPathsMiscInfo.cpp	Mon Apr 30 16:59:05 2018 -0400
@@ -141,7 +141,7 @@
   switch (type) {
   case BOOT:
     // In the future we should perform the check based on the content of the mapped archive.
-    if (UseAppCDS && os::file_name_strcmp(path, Arguments::get_sysclasspath()) != 0) {
+    if (os::file_name_strcmp(path, Arguments::get_sysclasspath()) != 0) {
       return fail("[BOOT classpath mismatch, actual =", Arguments::get_sysclasspath());
     }
     break;