Skip to content

Commit b23228d

Browse files
committed
8263914: CDS fails to find the default shared archive on x86_32
Reviewed-by: dholmes, iklam
1 parent a5e7a89 commit b23228d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/runtime/arguments.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3438,7 +3438,7 @@ char* Arguments::get_default_shared_archive_path() {
34383438
const size_t len = jvm_path_len + file_sep_len + 20;
34393439
default_archive_path = NEW_C_HEAP_ARRAY(char, len, mtArguments);
34403440
jio_snprintf(default_archive_path, len,
3441-
UseCompressedOops ? "%s%sclasses.jsa": "%s%sclasses_nocoops.jsa",
3441+
LP64_ONLY(!UseCompressedOops ? "%s%sclasses_nocoops.jsa":) "%s%sclasses.jsa",
34423442
jvm_path, os::file_separator());
34433443
return default_archive_path;
34443444
}

0 commit comments

Comments
 (0)