1.1 --- a/src/share/vm/prims/methodHandleWalk.cpp Tue Jun 14 15:20:55 2011 -0700 1.2 +++ b/src/share/vm/prims/methodHandleWalk.cpp Wed Jun 15 10:20:03 2011 -0700 1.3 @@ -1604,6 +1604,7 @@ 1.4 objArrayHandle methods(THREAD, m_array); 1.5 methods->obj_at_put(0, m()); 1.6 Rewriter::rewrite(_target_klass(), cpool, methods, CHECK_(empty)); // Use fake class. 1.7 + Rewriter::relocate_and_link(_target_klass(), methods, CHECK_(empty)); // Use fake class. 1.8 1.9 // Set the invocation counter's count to the invoke count of the 1.10 // original call site.