mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8193213: Make the UseAppCDS option obsolete
8182731: Odd handling of -XX:-UseAppCDS and -XX:SharedArchiveFile Application class data sharing is enabled without -XX:+UseAppCDS. SharedArchiveFile is now a product flag. Reviewed-by: dholmes, ihse, erikj, ccheung
This commit is contained in:
parent
cdd3f0ac39
commit
20edc74068
33 changed files with 189 additions and 238 deletions
|
@ -141,7 +141,7 @@ 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue