8267431: Rename InstanceKlass::has_old_class_version to can_be_verified_at_dumptime

Reviewed-by: iklam
This commit is contained in:
Calvin Cheung 2021-05-25 00:42:21 +00:00
parent c519ba2e43
commit de27da7ded
6 changed files with 13 additions and 13 deletions

View file

@ -1386,7 +1386,7 @@ bool SystemDictionaryShared::check_for_exclusion_impl(InstanceKlass* k) {
if (has_class_failed_verification(k)) {
return warn_excluded(k, "Failed verification");
} else {
if (!k->has_old_class_version()) {
if (!k->can_be_verified_at_dumptime()) {
return warn_excluded(k, "Not linked");
}
}
@ -1400,7 +1400,7 @@ bool SystemDictionaryShared::check_for_exclusion_impl(InstanceKlass* k) {
return true;
}
if (k->has_old_class_version() && k->is_linked()) {
if (k->can_be_verified_at_dumptime() && k->is_linked()) {
return warn_excluded(k, "Old class has been linked");
}