# HG changeset patch # User Roland Schatz # Date 1360599651 -3600 # Node ID f10843a2d9617b542fd3a8db61fcb59b0227f0bf # Parent 859f7ec58a71bf600909aec53f93b340d9c387e9 Remove assumption that methods without bytecodes are empty. diff -r 859f7ec58a71 -r f10843a2d961 src/share/vm/runtime/javaCalls.cpp --- a/src/share/vm/runtime/javaCalls.cpp Mon Feb 11 14:39:56 2013 +0100 +++ b/src/share/vm/runtime/javaCalls.cpp Mon Feb 11 17:20:51 2013 +0100 @@ -365,12 +365,13 @@ } else debug_only(args->verify(method, result->get_type(), thread)); +#ifndef GRAAL // Ignore call if method is empty if (method->is_empty_method()) { assert(result->get_type() == T_VOID, "an empty method must return a void value"); return; } - +#endif #ifdef ASSERT { InstanceKlass* holder = method->method_holder();