--- old/src/share/vm/runtime/sharedRuntime.cpp 2011-03-30 07:00:32.844795239 -0700 +++ new/src/share/vm/runtime/sharedRuntime.cpp 2011-03-30 07:00:32.646734346 -0700 @@ -1682,7 +1682,7 @@ 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) {