提交 d129e7c8 编写于 作者: V vlivanov

8174818: bigapps/Weblogic12medrec fails with...

8174818: bigapps/Weblogic12medrec fails with assert(check_call_consistency(jvms, cg)) failed: inconsistent info
Reviewed-by: vlivanov
Contributed-by: dmitry.chuyko@oracle.com
上级 24979fcd
......@@ -1428,8 +1428,12 @@ bool ciMethod::is_consistent_info(ciMethod* declared_method, ciMethod* resolved_
if (!invoke_through_mh_intrinsic) {
// Method name & descriptor should stay the same.
// Signatures may reference unloaded types and thus they may be not strictly equal.
ciSymbol* declared_signature = declared_method->signature()->as_symbol();
ciSymbol* resolved_signature = resolved_method->signature()->as_symbol();
return (declared_method->name()->equals(resolved_method->name())) &&
(declared_method->signature()->equals(resolved_method->signature()));
(declared_signature->equals(resolved_signature));
}
ciMethod* linker = declared_method;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册