--- old/src/hotspot/share/classfile/sharedPathsMiscInfo.cpp 2018-04-24 20:04:02.464320206 -0400 +++ new/src/hotspot/share/classfile/sharedPathsMiscInfo.cpp 2018-04-24 20:04:01.168245583 -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;