< prev index next >
src/hotspot/share/classfile/sharedPathsMiscInfo.cpp
Print this page
@@ -139,11 +139,11 @@
bool SharedPathsMiscInfo::check(jint type, const char* path) {
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;
case NON_EXIST:
{
< prev index next >