mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8268522: InstanceKlass::can_be_verified_at_dumptime() returns opposite value
Reviewed-by: dholmes, minqi, iklam
This commit is contained in:
parent
abe20c188c
commit
c088d093e2
8 changed files with 25 additions and 25 deletions
|
@ -1411,7 +1411,7 @@ bool SystemDictionaryShared::check_for_exclusion_impl(InstanceKlass* k) {
|
|||
if (has_class_failed_verification(k)) {
|
||||
return warn_excluded(k, "Failed verification");
|
||||
} else {
|
||||
if (!k->can_be_verified_at_dumptime()) {
|
||||
if (k->can_be_verified_at_dumptime()) {
|
||||
return warn_excluded(k, "Not linked");
|
||||
}
|
||||
}
|
||||
|
@ -1425,7 +1425,7 @@ bool SystemDictionaryShared::check_for_exclusion_impl(InstanceKlass* k) {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (k->can_be_verified_at_dumptime() && 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