equal
deleted
inserted
replaced
1680 oopDesc* actual) { |
1680 oopDesc* actual) { |
1681 if (TraceMethodHandles) { |
1681 if (TraceMethodHandles) { |
1682 tty->print_cr("WrongMethodType thread="PTR_FORMAT" req="PTR_FORMAT" act="PTR_FORMAT"", |
1682 tty->print_cr("WrongMethodType thread="PTR_FORMAT" req="PTR_FORMAT" act="PTR_FORMAT"", |
1683 thread, required, actual); |
1683 thread, required, actual); |
1684 } |
1684 } |
1685 assert(EnableMethodHandles, ""); |
1685 assert(EnableInvokeDynamic, ""); |
1686 oop singleKlass = wrong_method_type_is_for_single_argument(thread, required); |
1686 oop singleKlass = wrong_method_type_is_for_single_argument(thread, required); |
1687 char* message = NULL; |
1687 char* message = NULL; |
1688 if (singleKlass != NULL) { |
1688 if (singleKlass != NULL) { |
1689 const char* objName = "argument or return value"; |
1689 const char* objName = "argument or return value"; |
1690 if (actual != NULL) { |
1690 if (actual != NULL) { |