mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8029567: Clean up linkResolver code
Moved non-const reference return values to actual return values, refactored error handling code, remove oop from Method* variable names. Reviewed-by: jiangli, lfoltan, acorn
This commit is contained in:
parent
dc86a0aff2
commit
9b5e1ddb92
10 changed files with 606 additions and 588 deletions
|
@ -831,9 +831,9 @@ methodHandle Reflection::resolve_interface_call(instanceKlassHandle klass, metho
|
|||
CallInfo info;
|
||||
Symbol* signature = method->signature();
|
||||
Symbol* name = method->name();
|
||||
LinkResolver::resolve_interface_call(info, receiver, recv_klass, klass,
|
||||
name, signature,
|
||||
KlassHandle(), false, true,
|
||||
LinkResolver::resolve_interface_call(info, receiver, recv_klass,
|
||||
LinkInfo(klass, name, signature, KlassHandle(), false),
|
||||
true,
|
||||
CHECK_(methodHandle()));
|
||||
return info.selected_method();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue