mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
6939134: JSR 292 adjustments to method handle invocation
Split MethodHandle.invoke into invokeExact and invokeGeneric; also clean up JVM-to-Java interfaces Reviewed-by: twisti
This commit is contained in:
parent
0211f9703a
commit
4eb75c2df3
29 changed files with 413 additions and 233 deletions
|
@ -1557,7 +1557,7 @@ char* SharedRuntime::generate_wrong_method_type_message(JavaThread* thread,
|
|||
methodOop actual_method = MethodHandles::decode_method(actual,
|
||||
kignore, fignore);
|
||||
if (actual_method != NULL) {
|
||||
if (actual_method->name() == vmSymbols::invoke_name())
|
||||
if (methodOopDesc::is_method_handle_invoke_name(actual_method->name()))
|
||||
mhName = "$";
|
||||
else
|
||||
mhName = actual_method->signature()->as_C_string();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue