equal
deleted
inserted
replaced
137 } |
137 } |
138 |
138 |
139 bool SharedPathsMiscInfo::check(jint type, const char* path) { |
139 bool SharedPathsMiscInfo::check(jint type, const char* path) { |
140 switch (type) { |
140 switch (type) { |
141 case BOOT: |
141 case BOOT: |
142 if (os::file_name_strcmp(path, Arguments::get_sysclasspath()) != 0) { |
142 // In the future we should perform the check based on the content of the mapped archive. |
|
143 if (UseAppCDS && os::file_name_strcmp(path, Arguments::get_sysclasspath()) != 0) { |
143 return fail("[BOOT classpath mismatch, actual =", Arguments::get_sysclasspath()); |
144 return fail("[BOOT classpath mismatch, actual =", Arguments::get_sysclasspath()); |
144 } |
145 } |
145 break; |
146 break; |
146 case NON_EXIST: |
147 case NON_EXIST: |
147 { |
148 { |