Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
/ jdk20u Public archive

Commit

Permalink
8301876: Crash in DumpTimeClassInfo::add_verification_constraint
Browse files Browse the repository at this point in the history
Backport-of: dc6d52cea54eb8c8793dd0f46002c28ec43d9d2c
  • Loading branch information
calvinccheung committed Feb 27, 2023
1 parent db260e5 commit 7cfbfc6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/hotspot/share/classfile/systemDictionaryShared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1449,11 +1449,9 @@ class CloneDumpTimeClassTable: public StackObj {
assert(_cloned_table != NULL, "_cloned_table is NULL");
}
void do_entry(InstanceKlass* k, DumpTimeClassInfo& info) {
if (!info.is_excluded()) {
bool created;
_cloned_table->put_if_absent(k, info, &created);
assert(created, "must be");
}
bool created;
_cloned_table->put_if_absent(k, info, &created);
assert(created, "must be");
}
};

Expand Down

1 comment on commit 7cfbfc6

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.