mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8267431: Rename InstanceKlass::has_old_class_version to can_be_verified_at_dumptime
Reviewed-by: iklam
This commit is contained in:
parent
c519ba2e43
commit
de27da7ded
6 changed files with 13 additions and 13 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue