mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8145148: InterfaceMethod CP entry pointing to a class should cause ICCE
Pass tag in LinkInfo and check that resolved method type matches tag, fix tests. Reviewed-by: sspitsyn, minqi
This commit is contained in:
parent
6253b1d251
commit
c36295e947
18 changed files with 543 additions and 62 deletions
|
@ -998,7 +998,7 @@ static methodHandle resolve_interface_call(instanceKlassHandle klass,
|
|||
Symbol* signature = method->signature();
|
||||
Symbol* name = method->name();
|
||||
LinkResolver::resolve_interface_call(info, receiver, recv_klass,
|
||||
LinkInfo(klass, name, signature, KlassHandle(), false),
|
||||
LinkInfo(klass, name, signature),
|
||||
true,
|
||||
CHECK_(methodHandle()));
|
||||
return info.selected_method();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue