Skip to content

Commit

Permalink
8301876: Crash in DumpTimeClassInfo::add_verification_constraint
Browse files Browse the repository at this point in the history
Reviewed-by: ccheung, matsaave
  • Loading branch information
iklam committed Feb 9, 2023
1 parent 873558e commit dc6d52c
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 != nullptr, "_cloned_table is nullptr");
}
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 dc6d52c

@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.