mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8371093: Assert "section header string table should be loaded" failed on debug VM
Reviewed-by: phubner, jsjolen
This commit is contained in:
parent
676e6fd8d5
commit
b6ba1ac9aa
@ -114,6 +114,11 @@ ElfFile* ElfDecoder::get_elf_file(const char* filepath) {
|
||||
|
||||
file = new (std::nothrow)ElfFile(filepath);
|
||||
if (file != nullptr) {
|
||||
_decoder_status = file->get_status();
|
||||
if (has_error()) {
|
||||
delete file;
|
||||
return nullptr;
|
||||
}
|
||||
if (_opened_elf_files != nullptr) {
|
||||
file->set_next(_opened_elf_files);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user