--- a/hotspot/src/share/vm/oops/method.cpp Mon Apr 18 15:39:46 2016 -0700
+++ b/hotspot/src/share/vm/oops/method.cpp Tue Oct 13 18:13:34 2015 -0400
@@ -1220,10 +1220,8 @@
m->set_signature_index(_imcp_invoke_signature);
assert(MethodHandles::is_signature_polymorphic_name(m->name()), "");
assert(m->signature() == signature, "");
-#ifdef CC_INTERP
ResultTypeFinder rtf(signature);
- m->set_result_index(rtf.type());
-#endif
+ m->constMethod()->set_result_type(rtf.type());
m->compute_size_of_parameters(THREAD);
m->init_intrinsic_id();
assert(m->is_method_handle_intrinsic(), "");