8295895: build error after JDK-8279366

Reviewed-by: dcubed
This commit is contained in:
Calvin Cheung 2022-10-25 18:54:48 +00:00
parent ee0dec8bf5
commit 0caea818b5

View File

@ -895,7 +895,7 @@ bool FileMapInfo::check_paths(int shared_path_start_idx, int num_paths, Growable
assert(strlen(shared_path(j)->name()) > (size_t)dumptime_prefix_len, "sanity");
const char* dumptime_path = shared_path(j)->name() + dumptime_prefix_len;
assert(strlen(rp_array->at(i)) > (size_t)runtime_prefix_len, "sanity");
const char* runtime_path = runtime_path = rp_array->at(i) + runtime_prefix_len;
const char* runtime_path = rp_array->at(i) + runtime_prefix_len;
if (!os::same_files(dumptime_path, runtime_path)) {
return true;
}