mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6817525: turn on method handle functionality by default for JSR 292
After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default. Reviewed-by: never, kvn, jrose, phh
This commit is contained in:
parent
79c814c616
commit
c9e2dcda4b
29 changed files with 90 additions and 102 deletions
|
@ -1682,7 +1682,7 @@ char* SharedRuntime::generate_wrong_method_type_message(JavaThread* thread,
|
|||
tty->print_cr("WrongMethodType thread="PTR_FORMAT" req="PTR_FORMAT" act="PTR_FORMAT"",
|
||||
thread, required, actual);
|
||||
}
|
||||
assert(EnableMethodHandles, "");
|
||||
assert(EnableInvokeDynamic, "");
|
||||
oop singleKlass = wrong_method_type_is_for_single_argument(thread, required);
|
||||
char* message = NULL;
|
||||
if (singleKlass != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue