mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8266347: assert(Dependencies::is_concrete_root_method(fm, ctxk) == Dependencies::is_concrete_method(m, ctxk)) failed: mismatch
Reviewed-by: vlivanov, thartmann
(cherry picked from commit 89f7998aa7)
This commit is contained in:
committed by
Vitaly Provodin
parent
385892a4cc
commit
e2bf64a981
@@ -1857,6 +1857,9 @@ Method* Dependencies::find_unique_concrete_method(InstanceKlass* ctxk, Method* m
|
||||
if (participant != NULL) {
|
||||
(*participant) = wf.participant(0);
|
||||
}
|
||||
if (!Dependencies::is_concrete_method(fm, NULL)) {
|
||||
fm = NULL; // ignore abstract methods
|
||||
}
|
||||
if (Dependencies::is_concrete_method(m, ctxk)) {
|
||||
if (fm == NULL) {
|
||||
// It turns out that m was always the only implementation.
|
||||
|
||||
Reference in New Issue
Block a user