mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
Merge
This commit is contained in:
commit
895db11053
190 changed files with 4646 additions and 181 deletions
|
@ -1771,7 +1771,9 @@ bool FileMapInfo::initialize(bool is_static) {
|
|||
}
|
||||
|
||||
init_from_file(_fd, is_static);
|
||||
if (!validate_header(is_static)) {
|
||||
// UseSharedSpaces could be disabled if the checking of some of the header fields in
|
||||
// init_from_file has failed.
|
||||
if (!UseSharedSpaces || !validate_header(is_static)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue